Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002345/0.002345, allocations: 187.6 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.998/1.998, 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.001377/0.001377, allocations: 96.41 kB / 270.9 MB, free: 8.367 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.5046/0.5046, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004713, allocations: 12 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1275, allocations: 58.86 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4487/0.5762, allocations: 87.67 MB / 0.5644 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.5766, allocations: 79.95 kB / 0.5644 GB, free: 14.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02403/0.6006, allocations: 5.322 MB / 0.5696 GB, free: 9.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.6007, allocations: 0 / 0.5696 GB, free: 9.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.6008, allocations: 4.547 kB / 0.5696 GB, free: 9.656 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.0006638/0.6014, allocations: 431 kB / 0.57 GB, free: 9.191 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.6015, allocations: 12.02 kB / 0.5701 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.6016, allocations: 15.25 kB / 0.5701 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.602, allocations: 215.5 kB / 0.5703 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.602, allocations: 4 kB / 0.5703 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.602, allocations: 0 / 0.5703 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.6022, allocations: 57.67 kB / 0.5703 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.6023, allocations: 11.38 kB / 0.5703 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.6023, allocations: 0 / 0.5703 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.6023, allocations: 1.031 kB / 0.5703 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.6024, allocations: 23.92 kB / 0.5704 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.6029, allocations: 296.9 kB / 0.5707 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.6032, allocations: 54.62 kB / 0.5707 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.6032, allocations: 15.92 kB / 0.5707 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.6034, allocations: 63.52 kB / 0.5708 GB, free: 8.324 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.6034, allocations: 0 / 0.5708 GB, free: 8.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007819/0.6042, allocations: 185 kB / 0.571 GB, free: 8.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.6043, allocations: 55.36 kB / 0.571 GB, free: 8.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.6046, allocations: 184.8 kB / 0.5712 GB, free: 7.883 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.6046, allocations: 33.7 kB / 0.5712 GB, free: 7.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.6048, allocations: 158.6 kB / 0.5714 GB, free: 7.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.6048, allocations: 23.66 kB / 0.5714 GB, free: 7.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.6048, allocations: 4 kB / 0.5714 GB, free: 7.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.605, allocations: 318.8 kB / 0.5717 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.495e-05/0.6051, allocations: 19.98 kB / 0.5717 GB, free: 7.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.6052, allocations: 37.7 kB / 0.5718 GB, free: 7.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.6053, allocations: 24 kB / 0.5718 GB, free: 7.254 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.6053, allocations: 3.938 kB / 0.5718 GB, free: 7.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002931/0.6056, allocations: 93.67 kB / 0.5719 GB, free: 7.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.6057, allocations: 4 kB / 0.5719 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6057, allocations: 0 / 0.5719 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.6057, allocations: 4 kB / 0.5719 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.6059, allocations: 15.94 kB / 0.5719 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.6059, allocations: 4.766 kB / 0.5719 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.976e-05/0.606, allocations: 7.953 kB / 0.5719 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.606, allocations: 12.03 kB / 0.5719 GB, free: 7.105 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.0001365/0.6062, allocations: 117.8 kB / 0.572 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.6062, allocations: 20.55 kB / 0.5721 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.6066, allocations: 119.2 kB / 0.5722 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6066, allocations: 288 / 0.5722 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.6066, allocations: 0 / 0.5722 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6067, allocations: 0 / 0.5722 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007136/0.6074, allocations: 427.2 kB / 0.5726 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.6074, allocations: 3.984 kB / 0.5726 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/0.6075, allocations: 8 kB / 0.5726 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.6075, allocations: 4.359 kB / 0.5726 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.6075, allocations: 8 kB / 0.5726 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.888e-06/0.6076, allocations: 7.953 kB / 0.5726 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6076, allocations: 3.938 kB / 0.5726 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.608, allocations: 225.9 kB / 0.5728 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.8e-05/0.6081, allocations: 93.02 kB / 0.5729 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.6081, allocations: 3.953 kB / 0.5729 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.6082, allocations: 7.984 kB / 0.5729 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.6083, allocations: 11.94 kB / 0.5729 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.6083, allocations: 4 kB / 0.5729 GB, free: 5.941 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002142/0.6086, allocations: 156.8 kB / 0.5731 GB, free: 5.789 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6086, allocations: 4 kB / 0.5731 GB, free: 5.785 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003963/0.609, allocations: 31.94 kB / 0.5731 GB, free: 5.754 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.001356/0.6103, allocations: 477.7 kB / 0.5736 GB, free: 5.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.6107, allocations: 59.91 kB / 0.5736 GB, free: 5.328 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6107, allocations: 0 / 0.5736 GB, free: 5.328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.6109, allocations: 43.84 kB / 0.5737 GB, free: 5.285 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.6113, allocations: 19.98 kB / 0.5737 GB, free: 5.266 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006957/0.612, allocations: 286.2 kB / 0.574 GB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.6124, allocations: 0.7121 MB / 0.5747 GB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.6124, allocations: 15.44 kB / 0.5747 GB, free: 4.207 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6124, allocations: 4 kB / 0.5747 GB, free: 4.203 MB / 394.7 MB Notification: Performance of Templates: time 0.005552/0.618, allocations: 1.961 MB / 0.5766 GB, free: 2.25 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches