Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.904/1.904, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001121/0.001121, allocations: 100.9 kB / 270.9 MB, free: 8.363 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.4969/0.4969, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.0005316, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5286/0.6512, allocations: 87.72 MB / 0.5644 GB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.6515, allocations: 71.97 kB / 0.5645 GB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02553/0.6771, allocations: 5.391 MB / 0.5697 GB, free: 9.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6771, allocations: 0.5469 kB / 0.5697 GB, free: 9.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.6772, allocations: 4 kB / 0.5697 GB, free: 9.566 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.0006959/0.6779, allocations: 426.3 kB / 0.5701 GB, free: 9.105 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.6779, allocations: 12.02 kB / 0.5702 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.094e-05/0.678, allocations: 11.34 kB / 0.5702 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.6784, allocations: 213.9 kB / 0.5704 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.6784, allocations: 0 / 0.5704 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.6785, allocations: 4 kB / 0.5704 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.6787, allocations: 53.67 kB / 0.5704 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6787, allocations: 0 / 0.5704 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.6787, allocations: 3.984 kB / 0.5704 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.6787, allocations: 5.031 kB / 0.5704 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.6789, allocations: 23.92 kB / 0.5705 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.6794, allocations: 300.8 kB / 0.5707 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.6797, allocations: 66.66 kB / 0.5708 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.6797, allocations: 0 / 0.5708 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.6799, allocations: 67.45 kB / 0.5709 GB, free: 8.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.003e-06/0.6799, allocations: 4 kB / 0.5709 GB, free: 8.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008256/0.6808, allocations: 177.2 kB / 0.571 GB, free: 8.066 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.6808, allocations: 55.36 kB / 0.5711 GB, free: 8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.6811, allocations: 173.4 kB / 0.5713 GB, free: 7.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.6812, allocations: 25.7 kB / 0.5713 GB, free: 7.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.6813, allocations: 166.6 kB / 0.5714 GB, free: 7.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.6813, allocations: 27.64 kB / 0.5715 GB, free: 7.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.6813, allocations: 0 / 0.5715 GB, free: 7.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6815, allocations: 314.8 kB / 0.5718 GB, free: 7.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.6816, allocations: 23.98 kB / 0.5718 GB, free: 7.262 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.6817, allocations: 33.7 kB / 0.5718 GB, free: 7.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.6818, allocations: 28.06 kB / 0.5719 GB, free: 7.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6819, allocations: 0 / 0.5719 GB, free: 7.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003104/0.6822, allocations: 97.52 kB / 0.5719 GB, free: 7.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.6822, allocations: 8 kB / 0.572 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6822, allocations: 4.781 kB / 0.572 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.6823, allocations: 0 / 0.572 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.6824, allocations: 12 kB / 0.572 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.6824, allocations: 7.984 kB / 0.572 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.6825, allocations: 11.89 kB / 0.572 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.6826, allocations: 4 kB / 0.572 GB, free: 7.047 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.0001448/0.6827, allocations: 117.8 kB / 0.5721 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.6828, allocations: 15.89 kB / 0.5721 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.6832, allocations: 126.4 kB / 0.5722 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6832, allocations: 0 / 0.5722 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6832, allocations: 0 / 0.5722 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.6832, allocations: 0 / 0.5722 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007345/0.684, allocations: 415.2 kB / 0.5726 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.684, allocations: 0 / 0.5726 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.422e-05/0.6841, allocations: 11.98 kB / 0.5726 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.6841, allocations: 4.031 kB / 0.5726 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.6842, allocations: 8 kB / 0.5727 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.6842, allocations: 7.891 kB / 0.5727 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.6842, allocations: 4 kB / 0.5727 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.6846, allocations: 210 kB / 0.5729 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.694e-05/0.6847, allocations: 97 kB / 0.573 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.6848, allocations: 8.328 kB / 0.573 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.6849, allocations: 4 kB / 0.573 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.685, allocations: 7.984 kB / 0.573 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.685, allocations: 12 kB / 0.573 GB, free: 5.898 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001969/0.6852, allocations: 136.8 kB / 0.5731 GB, free: 5.766 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.645e-06/0.6852, allocations: 0 / 0.5731 GB, free: 5.766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003732/0.6856, allocations: 39.88 kB / 0.5732 GB, free: 5.727 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.001378/0.687, allocations: 483.7 kB / 0.5736 GB, free: 5.352 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003294/0.6874, allocations: 63.91 kB / 0.5737 GB, free: 5.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6874, allocations: 0 / 0.5737 GB, free: 5.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.6875, allocations: 28.14 kB / 0.5737 GB, free: 5.262 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.6879, allocations: 36.23 kB / 0.5737 GB, free: 5.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007039/0.6886, allocations: 270.5 kB / 0.574 GB, free: 4.926 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.689, allocations: 0.716 MB / 0.5747 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.6891, allocations: 19.42 kB / 0.5747 GB, free: 4.164 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6891, allocations: 0 / 0.5747 GB, free: 4.164 MB / 394.7 MB Notification: Performance of Templates: time 0.006751/0.6959, allocations: 1.918 MB / 0.5766 GB, free: 2.254 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches