Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002422/0.002421, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.907/1.907, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001145/0.001144, allocations: 91.19 kB / 270.9 MB, free: 8.375 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.5088/0.5088, allocations: 43.54 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006317/0.0006316, allocations: 12 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1229, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4985/0.6214, allocations: 87.71 MB / 0.5644 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.6218, allocations: 79.95 kB / 0.5645 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0243/0.6461, allocations: 5.336 MB / 0.5697 GB, free: 9.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6461, allocations: 4 kB / 0.5697 GB, free: 9.484 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.6462, allocations: 4 kB / 0.5697 GB, free: 9.48 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.0006801/0.6469, allocations: 413.8 kB / 0.5701 GB, free: 9.031 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.6469, allocations: 12.02 kB / 0.5701 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.647, allocations: 15.34 kB / 0.5701 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.6474, allocations: 212.2 kB / 0.5703 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.6474, allocations: 0 / 0.5703 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.6475, allocations: 4 kB / 0.5703 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.6477, allocations: 61.66 kB / 0.5704 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6477, allocations: 0 / 0.5704 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.6477, allocations: 0 / 0.5704 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.6477, allocations: 5.531 kB / 0.5704 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.6479, allocations: 27.91 kB / 0.5704 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.6484, allocations: 289.6 kB / 0.5707 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.6487, allocations: 70.61 kB / 0.5707 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.6487, allocations: 4 kB / 0.5707 GB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.6489, allocations: 63.52 kB / 0.5708 GB, free: 8.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.649, allocations: 0 / 0.5708 GB, free: 8.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007947/0.6498, allocations: 165.3 kB / 0.571 GB, free: 8.004 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.6498, allocations: 59.36 kB / 0.571 GB, free: 7.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.6501, allocations: 165.3 kB / 0.5712 GB, free: 7.766 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.6501, allocations: 29.64 kB / 0.5712 GB, free: 7.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.6502, allocations: 170.5 kB / 0.5714 GB, free: 7.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.6503, allocations: 27.72 kB / 0.5714 GB, free: 7.535 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-06/0.6503, allocations: 0 / 0.5714 GB, free: 7.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.6505, allocations: 310.8 kB / 0.5717 GB, free: 7.223 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.599e-05/0.6506, allocations: 23.98 kB / 0.5717 GB, free: 7.199 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.6507, allocations: 37.7 kB / 0.5717 GB, free: 7.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.6508, allocations: 27.98 kB / 0.5718 GB, free: 7.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.6508, allocations: 4 kB / 0.5718 GB, free: 7.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000296/0.6511, allocations: 89.53 kB / 0.5719 GB, free: 7.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.6512, allocations: 8 kB / 0.5719 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6512, allocations: 0 / 0.5719 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6512, allocations: 0 / 0.5719 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.6513, allocations: 15.98 kB / 0.5719 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.6514, allocations: 4 kB / 0.5719 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.6515, allocations: 11.98 kB / 0.5719 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.6515, allocations: 4 kB / 0.5719 GB, free: 6.988 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.0001342/0.6516, allocations: 125.8 kB / 0.572 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.6517, allocations: 7.906 kB / 0.572 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.6521, allocations: 118.3 kB / 0.5721 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6521, allocations: 0 / 0.5721 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6521, allocations: 0 / 0.5721 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6521, allocations: 8 kB / 0.5722 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/0.6528, allocations: 415.1 kB / 0.5725 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6529, allocations: 0 / 0.5725 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.408e-05/0.6529, allocations: 11.98 kB / 0.5726 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/0.653, allocations: 4 kB / 0.5726 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.653, allocations: 3.938 kB / 0.5726 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.653, allocations: 3.953 kB / 0.5726 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.653, allocations: 0 / 0.5726 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.6534, allocations: 230.2 kB / 0.5728 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.6535, allocations: 89.02 kB / 0.5729 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.6535, allocations: 8.328 kB / 0.5729 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.6537, allocations: 7.984 kB / 0.5729 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.6537, allocations: 4 kB / 0.5729 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.6537, allocations: 8 kB / 0.5729 GB, free: 5.844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.6539, allocations: 137.5 kB / 0.573 GB, free: 5.711 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.654, allocations: 0 / 0.573 GB, free: 5.711 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003644/0.6543, allocations: 28 kB / 0.5731 GB, free: 5.684 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.6557, allocations: 484 kB / 0.5735 GB, free: 5.309 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.656, allocations: 59.97 kB / 0.5736 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6561, allocations: 0 / 0.5736 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.6562, allocations: 31.92 kB / 0.5736 GB, free: 5.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.6566, allocations: 25.2 kB / 0.5736 GB, free: 5.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.6573, allocations: 274.3 kB / 0.5739 GB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.6576, allocations: 0.7043 MB / 0.5746 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.6577, allocations: 27.38 kB / 0.5746 GB, free: 4.137 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6577, allocations: 3.938 kB / 0.5746 GB, free: 4.133 MB / 394.7 MB Notification: Performance of Templates: time 0.00552/0.6632, allocations: 1.89 MB / 0.5765 GB, free: 2.254 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches