Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006983/0.006983, allocations: 106.8 kB / 21.98 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001874/0.001874, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.5 MB / 258.9 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2271/0.2271, allocations: 46.93 MB / 362.3 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 79.86 kB / 0.4983 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2983, allocations: 66.07 MB / 0.5628 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003563/0.3019, allocations: 1.745 MB / 0.5645 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.3038, allocations: 1.056 MB / 0.5655 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.931e-05/0.3039, allocations: 0 / 0.5655 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.3042, allocations: 51.75 kB / 0.5656 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.3046, allocations: 99.55 kB / 0.5657 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.3048, allocations: 79.72 kB / 0.5658 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.3051, allocations: 103.7 kB / 0.5659 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3052, allocations: 15.92 kB / 0.5659 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3053, allocations: 47.78 kB / 0.5659 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.894e-05/0.3054, allocations: 23.86 kB / 0.5659 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.3054, allocations: 4 kB / 0.5659 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.3055, allocations: 43.97 kB / 0.566 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.3056, allocations: 31.86 kB / 0.566 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.3056, allocations: 35.69 kB / 0.566 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.3059, allocations: 133.8 kB / 0.5662 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3059, allocations: 0 / 0.5662 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3059, allocations: 0 / 0.5662 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3059, allocations: 4 kB / 0.5662 GB, free: 0.7422 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006275/0.3065, allocations: 365.4 kB / 0.5665 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3066, allocations: 8.031 kB / 0.5665 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.3066, allocations: 12.89 kB / 0.5665 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.307, allocations: 163 kB / 0.5667 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.307, allocations: 4.375 kB / 0.5667 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.307, allocations: 4.312 kB / 0.5667 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.3072, allocations: 57.98 kB / 0.5668 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3072, allocations: 7.984 kB / 0.5668 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3072, allocations: 0 / 0.5668 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3072, allocations: 4 kB / 0.5668 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.51e-05/0.3073, allocations: 15.98 kB / 0.5668 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.3077, allocations: 271.8 kB / 0.567 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.3079, allocations: 62.67 kB / 0.5671 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.308, allocations: 16.86 kB / 0.5671 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.308, allocations: 3.984 kB / 0.5671 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.3081, allocations: 63.39 kB / 0.5672 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.3081, allocations: 4 kB / 0.5672 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005654/0.3087, allocations: 177.3 kB / 0.5674 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.3087, allocations: 59.39 kB / 0.5674 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.309, allocations: 239 kB / 0.5676 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.309, allocations: 29.64 kB / 0.5677 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.3091, allocations: 116.1 kB / 0.5678 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.3091, allocations: 23.8 kB / 0.5678 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.3092, allocations: 25.7 kB / 0.5678 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3093, allocations: 326.8 kB / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.3094, allocations: 20 kB / 0.5682 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.3095, allocations: 41.7 kB / 0.5682 GB, free: 14.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.3096, allocations: 61.69 kB / 0.5683 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3096, allocations: 0 / 0.5683 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.3098, allocations: 105.5 kB / 0.5684 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3098, allocations: 4 kB / 0.5684 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3098, allocations: 0 / 0.5684 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3098, allocations: 0 / 0.5684 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.3099, allocations: 23.97 kB / 0.5684 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3099, allocations: 0 / 0.5684 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.31, allocations: 7.984 kB / 0.5684 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.31, allocations: 4 kB / 0.5684 GB, free: 14.26 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.3101, allocations: 129.8 kB / 0.5685 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.3101, allocations: 15.91 kB / 0.5685 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.3104, allocations: 119.1 kB / 0.5687 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3104, allocations: 7.938 kB / 0.5687 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3104, allocations: 7.938 kB / 0.5687 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.3104, allocations: 0 / 0.5687 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.3108, allocations: 370.4 kB / 0.569 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3108, allocations: 3.938 kB / 0.569 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.3109, allocations: 11.98 kB / 0.569 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3109, allocations: 0 / 0.569 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3109, allocations: 0 / 0.569 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.3109, allocations: 7.938 kB / 0.569 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3109, allocations: 4.031 kB / 0.569 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.3112, allocations: 204.3 kB / 0.5692 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.3112, allocations: 12.28 kB / 0.5693 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.3112, allocations: 3.984 kB / 0.5693 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.3113, allocations: 11.94 kB / 0.5693 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.3113, allocations: 15.92 kB / 0.5693 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3113, allocations: 8 kB / 0.5693 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.3115, allocations: 167.2 kB / 0.5695 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3115, allocations: 0 / 0.5695 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000263/0.3118, allocations: 24.17 kB / 0.5695 GB, free: 13.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001664/0.3134, allocations: 459.5 kB / 0.5699 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.3136, allocations: 55.91 kB / 0.57 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3136, allocations: 0 / 0.57 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.822e-05/0.3137, allocations: 20 kB / 0.57 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3141, allocations: 42.61 kB / 0.57 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.3146, allocations: 296.9 kB / 0.5703 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3149, allocations: 0.7158 MB / 0.571 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.315, allocations: 15.44 kB / 0.571 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.315, allocations: 0 / 0.571 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Templates: time 0.004143/0.3191, allocations: 2.018 MB / 0.573 GB, free: 9.555 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.759352748980746]