Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 181.7 kB / 13.66 MB, free: 1.664 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.972/1.972, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00146/0.00146, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.275/0.275, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.447e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 58.85 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5228/0.6424, allocations: 87.66 MB / 0.5584 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.6428, allocations: 75.47 kB / 0.5585 GB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02382/0.6666, allocations: 5.664 MB / 0.564 GB, free: 11.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6667, allocations: 0 / 0.564 GB, free: 11.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.6667, allocations: 4 kB / 0.564 GB, free: 11.4 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007207/0.6674, allocations: 428.3 kB / 0.5644 GB, free: 10.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.6675, allocations: 8.031 kB / 0.5644 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.6676, allocations: 19.81 kB / 0.5645 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.6681, allocations: 244.7 kB / 0.5647 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.6682, allocations: 0 / 0.5647 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.6682, allocations: 7.984 kB / 0.5647 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.6685, allocations: 98.78 kB / 0.5648 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.6685, allocations: 3.938 kB / 0.5648 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.6685, allocations: 4 kB / 0.5648 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6685, allocations: 0 / 0.5648 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.6687, allocations: 30.73 kB / 0.5648 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.669, allocations: 222.9 kB / 0.565 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.6693, allocations: 98.09 kB / 0.5651 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.6694, allocations: 40.78 kB / 0.5652 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.6694, allocations: 0 / 0.5652 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.6697, allocations: 109.7 kB / 0.5653 GB, free: 10.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/0.6697, allocations: 0 / 0.5653 GB, free: 10.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000439/0.6702, allocations: 134.2 kB / 0.5654 GB, free: 9.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.6703, allocations: 136.2 kB / 0.5655 GB, free: 9.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.6706, allocations: 201.6 kB / 0.5657 GB, free: 9.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.6707, allocations: 29.27 kB / 0.5658 GB, free: 9.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.6708, allocations: 168.4 kB / 0.5659 GB, free: 9.379 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.52e-05/0.6708, allocations: 25.91 kB / 0.5659 GB, free: 9.359 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-06/0.6709, allocations: 0 / 0.5659 GB, free: 9.359 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.671, allocations: 326.7 kB / 0.5662 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/0.6711, allocations: 26.88 kB / 0.5663 GB, free: 9.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.6713, allocations: 70.08 kB / 0.5663 GB, free: 8.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.6714, allocations: 37.61 kB / 0.5664 GB, free: 8.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6714, allocations: 0 / 0.5664 GB, free: 8.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003193/0.6717, allocations: 119.1 kB / 0.5665 GB, free: 8.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.6718, allocations: 4 kB / 0.5665 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6718, allocations: 0 / 0.5665 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.6718, allocations: 4 kB / 0.5665 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.6721, allocations: 27.36 kB / 0.5665 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.6721, allocations: 4 kB / 0.5665 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.6723, allocations: 11.89 kB / 0.5665 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.6723, allocations: 4 kB / 0.5665 GB, free: 8.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001263/0.6724, allocations: 120 kB / 0.5667 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.6725, allocations: 19.81 kB / 0.5667 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.6729, allocations: 149.8 kB / 0.5668 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.673, allocations: 4 kB / 0.5668 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.673, allocations: 3.984 kB / 0.5668 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.673, allocations: 3.984 kB / 0.5668 GB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.6733, allocations: 233.9 kB / 0.5671 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6733, allocations: 0 / 0.5671 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.818e-05/0.6734, allocations: 11.94 kB / 0.5671 GB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.6734, allocations: 4.25 kB / 0.5671 GB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.6735, allocations: 7.25 kB / 0.5671 GB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.6735, allocations: 11.97 kB / 0.5671 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6735, allocations: 4 kB / 0.5671 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.6739, allocations: 180.6 kB / 0.5673 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.674, allocations: 100.2 kB / 0.5674 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.6741, allocations: 3.562 kB / 0.5674 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.6742, allocations: 15.98 kB / 0.5674 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.6743, allocations: 7.938 kB / 0.5674 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.6743, allocations: 11.42 kB / 0.5674 GB, free: 7.871 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002353/0.6746, allocations: 163.5 kB / 0.5676 GB, free: 7.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6746, allocations: 0 / 0.5676 GB, free: 7.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.675, allocations: 50.38 kB / 0.5676 GB, free: 7.695 MB / 378.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00126/0.6763, allocations: 422 kB / 0.568 GB, free: 7.332 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.6766, allocations: 78.81 kB / 0.5681 GB, free: 7.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6766, allocations: 0 / 0.5681 GB, free: 7.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.6767, allocations: 45.67 kB / 0.5681 GB, free: 7.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.6773, allocations: 55.05 kB / 0.5682 GB, free: 7.199 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/0.6779, allocations: 224.3 kB / 0.5684 GB, free: 6.973 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.6783, allocations: 0.7166 MB / 0.5691 GB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.6784, allocations: 26.8 kB / 0.5691 GB, free: 6.207 MB / 378.7 MB Notification: Performance of SimCode: time 3.006e-06/0.6784, allocations: 4 kB / 0.5691 GB, free: 6.203 MB / 378.7 MB Notification: Performance of Templates: time 0.007519/0.686, allocations: 2.727 MB / 0.5718 GB, free: 3.492 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches