Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009912/0.0009912, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009553/0.0009553, allocations: 96.03 kB / 261.8 MB, free: 1.68 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.211/0.211, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.229e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4151/0.5501, allocations: 86.91 MB / 0.5508 GB, free: 8.047 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.5503, allocations: 73.28 kB / 0.5509 GB, free: 8.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.5627, allocations: 5.135 MB / 0.5559 GB, free: 3.973 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5627, allocations: 0 / 0.5559 GB, free: 3.973 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.5627, allocations: 7.938 kB / 0.5559 GB, free: 3.965 MB / 362.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.0003734/0.5631, allocations: 385.8 kB / 0.5563 GB, free: 3.551 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.5632, allocations: 12.03 kB / 0.5563 GB, free: 3.539 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.5632, allocations: 11.89 kB / 0.5563 GB, free: 3.527 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.5635, allocations: 210.3 kB / 0.5565 GB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.5635, allocations: 0 / 0.5565 GB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.5635, allocations: 0 / 0.5565 GB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.164e-05/0.5636, allocations: 26.3 kB / 0.5565 GB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.167e-05/0.5637, allocations: 49.48 kB / 0.5566 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5637, allocations: 0 / 0.5566 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.5637, allocations: 0 / 0.5566 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5637, allocations: 0 / 0.5566 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.564, allocations: 274.1 kB / 0.5568 GB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.761e-05/0.5641, allocations: 53.5 kB / 0.5569 GB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.5642, allocations: 16.3 kB / 0.5569 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.5642, allocations: 0 / 0.5569 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.5643, allocations: 66.08 kB / 0.557 GB, free: 2.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.5643, allocations: 0 / 0.557 GB, free: 2.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004136/0.5647, allocations: 139.2 kB / 0.5571 GB, free: 2.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.5648, allocations: 58.97 kB / 0.5572 GB, free: 2.609 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.5649, allocations: 148.9 kB / 0.5573 GB, free: 2.465 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.5649, allocations: 25.7 kB / 0.5573 GB, free: 2.434 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.5649, allocations: 99.27 kB / 0.5574 GB, free: 2.344 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.565, allocations: 23.39 kB / 0.5574 GB, free: 2.324 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.565, allocations: 4 kB / 0.5574 GB, free: 2.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.565, allocations: 321.9 kB / 0.5578 GB, free: 2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.5651, allocations: 19.75 kB / 0.5578 GB, free: 1.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.5651, allocations: 28.84 kB / 0.5578 GB, free: 1.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.5652, allocations: 23.86 kB / 0.5578 GB, free: 1.945 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5652, allocations: 0 / 0.5578 GB, free: 1.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001135/0.5653, allocations: 98.92 kB / 0.5579 GB, free: 1.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5653, allocations: 8.031 kB / 0.5579 GB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5653, allocations: 3.984 kB / 0.5579 GB, free: 1.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.5653, allocations: 4 kB / 0.5579 GB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.5654, allocations: 12 kB / 0.5579 GB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.5654, allocations: 0 / 0.5579 GB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.5655, allocations: 4 kB / 0.5579 GB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5655, allocations: 8.125 kB / 0.558 GB, free: 1.82 MB / 362.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 () * 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 5.652e-05/0.5656, allocations: 116.8 kB / 0.5581 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.5656, allocations: 7.906 kB / 0.5581 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.5658, allocations: 112.2 kB / 0.5582 GB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.5658, allocations: 4 kB / 0.5582 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5658, allocations: 4 kB / 0.5582 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5658, allocations: 0 / 0.5582 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.5661, allocations: 362.4 kB / 0.5585 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5661, allocations: 3.938 kB / 0.5585 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.5661, allocations: 8 kB / 0.5585 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5661, allocations: 4.031 kB / 0.5585 GB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.5661, allocations: 4 kB / 0.5586 GB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5661, allocations: 3.984 kB / 0.5586 GB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5661, allocations: 4 kB / 0.5586 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.5663, allocations: 216.5 kB / 0.5588 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.5663, allocations: 89.02 kB / 0.5589 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.5664, allocations: 3.125 kB / 0.5589 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.5664, allocations: 11.98 kB / 0.5589 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.5665, allocations: 7.891 kB / 0.5589 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.5665, allocations: 4 kB / 0.5589 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.428e-05/0.5666, allocations: 127 kB / 0.559 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5666, allocations: 0 / 0.559 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002415/0.5668, allocations: 35.44 kB / 0.559 GB, free: 0.707 MB / 362.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) * 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.0008222/0.5676, allocations: 382 kB / 0.5594 GB, free: 400 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.5678, allocations: 53.98 kB / 0.5594 GB, free: 360 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5678, allocations: 4.062 kB / 0.5595 GB, free: 356 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.5678, allocations: 31.19 kB / 0.5595 GB, free: 332 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.5681, allocations: 28.08 kB / 0.5595 GB, free: 308 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.5684, allocations: 143.4 kB / 0.5596 GB, free: 152 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.5687, allocations: 0.7002 MB / 0.5603 GB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.717e-05/0.5687, allocations: 16.55 kB / 0.5603 GB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.5688, allocations: 18.69 kB / 0.5604 GB, free: 15.39 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5688, allocations: 0 / 0.5604 GB, free: 15.39 MB / 378.7 MB Notification: Performance of Templates: time 0.004095/0.5729, allocations: 1.578 MB / 0.5619 GB, free: 13.83 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches