Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001941/0.001941, allocations: 170.3 kB / 16.76 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 222.9 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007672/0.000767, allocations: 97.09 kB / 271.3 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3861/0.3861, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004014, allocations: 16 kB / 432.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1306, allocations: 58.85 MB / 491.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3473/0.4779, allocations: 87.99 MB / 0.5659 GB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.4783, allocations: 78.2 kB / 0.566 GB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01643/0.4948, allocations: 5.969 MB / 0.5718 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4948, allocations: 4.594 kB / 0.5718 GB, free: 7.977 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.4948, allocations: 4 kB / 0.5718 GB, free: 7.973 MB / 394.7 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.0005358/0.4954, allocations: 410.1 kB / 0.5722 GB, free: 7.523 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4954, allocations: 8.031 kB / 0.5722 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.4955, allocations: 12.84 kB / 0.5722 GB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.4958, allocations: 204.1 kB / 0.5724 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.4958, allocations: 8.375 kB / 0.5724 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.4959, allocations: 3.656 kB / 0.5724 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.496, allocations: 79.88 kB / 0.5725 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4961, allocations: 4.125 kB / 0.5725 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4961, allocations: 3.938 kB / 0.5725 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.4961, allocations: 4 kB / 0.5725 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.901e-05/0.4962, allocations: 15.98 kB / 0.5725 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.4966, allocations: 288.8 kB / 0.5728 GB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.4968, allocations: 70.55 kB / 0.5729 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.4969, allocations: 20.84 kB / 0.5729 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.4969, allocations: 0 / 0.5729 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.4971, allocations: 67.39 kB / 0.5729 GB, free: 6.629 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.4971, allocations: 0 / 0.5729 GB, free: 6.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005544/0.4977, allocations: 169.6 kB / 0.5731 GB, free: 6.457 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.4977, allocations: 81.11 kB / 0.5732 GB, free: 6.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.4979, allocations: 166.6 kB / 0.5733 GB, free: 6.191 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.4979, allocations: 25.7 kB / 0.5734 GB, free: 6.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.498, allocations: 96.12 kB / 0.5735 GB, free: 6.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.498, allocations: 19.72 kB / 0.5735 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.498, allocations: 4 kB / 0.5735 GB, free: 6.039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4982, allocations: 326.8 kB / 0.5738 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.862e-05/0.4982, allocations: 19.92 kB / 0.5738 GB, free: 5.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.4983, allocations: 50.56 kB / 0.5739 GB, free: 5.633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.4984, allocations: 61.69 kB / 0.5739 GB, free: 5.566 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.4985, allocations: 0 / 0.5739 GB, free: 5.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001949/0.4987, allocations: 97.53 kB / 0.574 GB, free: 5.465 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4987, allocations: 5.406 kB / 0.574 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.4987, allocations: 4 kB / 0.574 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4987, allocations: 8.047 kB / 0.574 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.4988, allocations: 16.06 kB / 0.574 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.4988, allocations: 0.75 kB / 0.574 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.4989, allocations: 4 kB / 0.5741 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.4989, allocations: 8 kB / 0.5741 GB, free: 5.422 MB / 394.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.499, allocations: 129.7 kB / 0.5742 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.499, allocations: 11.91 kB / 0.5742 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.4993, allocations: 118.4 kB / 0.5743 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4993, allocations: 4 kB / 0.5743 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4993, allocations: 0 / 0.5743 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4993, allocations: 4 kB / 0.5743 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.4998, allocations: 415 kB / 0.5747 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4998, allocations: 0 / 0.5747 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.4999, allocations: 11.98 kB / 0.5747 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4999, allocations: 4 kB / 0.5747 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.4999, allocations: 0 / 0.5747 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4999, allocations: 4.031 kB / 0.5747 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4999, allocations: 7.938 kB / 0.5747 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.5002, allocations: 200.2 kB / 0.5749 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.5002, allocations: 93 kB / 0.575 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.5003, allocations: 4 kB / 0.575 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.5003, allocations: 3.984 kB / 0.575 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.5004, allocations: 15.94 kB / 0.575 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.5004, allocations: 4 kB / 0.575 GB, free: 4.301 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.39e-05/0.5005, allocations: 121.7 kB / 0.5752 GB, free: 4.184 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5005, allocations: 0 / 0.5752 GB, free: 4.184 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.5008, allocations: 35.98 kB / 0.5752 GB, free: 4.148 MB / 394.7 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.5019, allocations: 0.5097 MB / 0.5757 GB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.5021, allocations: 67.89 kB / 0.5758 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5021, allocations: 0 / 0.5758 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.5022, allocations: 36.05 kB / 0.5758 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.5025, allocations: 19.98 kB / 0.5758 GB, free: 3.621 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.5029, allocations: 220.2 kB / 0.576 GB, free: 3.383 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.5032, allocations: 0.7004 MB / 0.5767 GB, free: 2.656 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.822e-05/0.5033, allocations: 26.27 kB / 0.5767 GB, free: 2.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.5033, allocations: 19.42 kB / 0.5767 GB, free: 2.613 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5033, allocations: 0 / 0.5767 GB, free: 2.613 MB / 394.7 MB Notification: Performance of Templates: time 0.00436/0.5077, allocations: 1.89 MB / 0.5786 GB, free: 0.7344 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches