Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.534/1.534, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007037/0.0007038, allocations: 90.36 kB / 271.9 MB, free: 8.285 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.3638/0.3638, allocations: 43.56 MB / 363.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 20 kB / 432.6 MB, free: 5.676 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 58.85 MB / 491.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3351/0.4675, allocations: 87.75 MB / 0.5656 GB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.4678, allocations: 75.95 kB / 0.5657 GB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.4825, allocations: 5.509 MB / 0.5711 GB, free: 9.043 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4825, allocations: 0 / 0.5711 GB, free: 9.043 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.4826, allocations: 0 / 0.5711 GB, free: 9.043 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.0005263/0.4831, allocations: 437.9 kB / 0.5715 GB, free: 8.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4831, allocations: 15.03 kB / 0.5715 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.4832, allocations: 12.75 kB / 0.5715 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.4835, allocations: 225 kB / 0.5717 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4835, allocations: 384 / 0.5717 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.4835, allocations: 4.375 kB / 0.5717 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.4837, allocations: 54.23 kB / 0.5718 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4837, allocations: 4.125 kB / 0.5718 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.4837, allocations: 5.312 kB / 0.5718 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.4837, allocations: 0 / 0.5718 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.58e-05/0.4838, allocations: 27.92 kB / 0.5718 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.4842, allocations: 296.9 kB / 0.5721 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.4844, allocations: 62.61 kB / 0.5722 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.4845, allocations: 16.86 kB / 0.5722 GB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.4845, allocations: 7.984 kB / 0.5722 GB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.4847, allocations: 71.33 kB / 0.5723 GB, free: 7.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4847, allocations: 0 / 0.5723 GB, free: 7.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005459/0.4852, allocations: 178.1 kB / 0.5724 GB, free: 7.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.4853, allocations: 51.41 kB / 0.5725 GB, free: 7.426 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.4855, allocations: 208.6 kB / 0.5727 GB, free: 7.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.4855, allocations: 33.7 kB / 0.5727 GB, free: 7.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.4856, allocations: 112 kB / 0.5728 GB, free: 7.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.4856, allocations: 19.72 kB / 0.5728 GB, free: 7.043 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.4856, allocations: 4 kB / 0.5728 GB, free: 7.039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4857, allocations: 326.8 kB / 0.5732 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.4858, allocations: 23.98 kB / 0.5732 GB, free: 6.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.4859, allocations: 37.7 kB / 0.5732 GB, free: 6.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.486, allocations: 66.98 kB / 0.5733 GB, free: 6.574 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.486, allocations: 0 / 0.5733 GB, free: 6.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.4862, allocations: 102.2 kB / 0.5734 GB, free: 6.469 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4862, allocations: 4 kB / 0.5734 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4863, allocations: 0 / 0.5734 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4863, allocations: 8.312 kB / 0.5734 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/0.4864, allocations: 13.12 kB / 0.5734 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.4864, allocations: 3.984 kB / 0.5734 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.4864, allocations: 12 kB / 0.5734 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.4864, allocations: 4.031 kB / 0.5734 GB, free: 6.426 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 9.633e-05/0.4866, allocations: 130.5 kB / 0.5735 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.4866, allocations: 19.81 kB / 0.5736 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.4868, allocations: 123.3 kB / 0.5737 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4869, allocations: 3.984 kB / 0.5737 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4869, allocations: 96 / 0.5737 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4869, allocations: 3.938 kB / 0.5737 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.4874, allocations: 427.2 kB / 0.5741 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4874, allocations: 4 kB / 0.5741 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.4874, allocations: 8 kB / 0.5741 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4874, allocations: 3.938 kB / 0.5741 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4874, allocations: 4 kB / 0.5741 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4874, allocations: 0 / 0.5741 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4875, allocations: 7.922 kB / 0.5741 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.4877, allocations: 212.2 kB / 0.5743 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.141e-05/0.4878, allocations: 97 kB / 0.5744 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.4878, allocations: 0 / 0.5744 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.4879, allocations: 8 kB / 0.5744 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.488, allocations: 11.92 kB / 0.5744 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.488, allocations: 4 kB / 0.5744 GB, free: 5.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.4881, allocations: 156.2 kB / 0.5746 GB, free: 5.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4881, allocations: 0 / 0.5746 GB, free: 5.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002626/0.4884, allocations: 43.92 kB / 0.5746 GB, free: 5.074 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.0009763/0.4894, allocations: 469.1 kB / 0.5751 GB, free: 4.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.4896, allocations: 67.91 kB / 0.5751 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4896, allocations: 3.938 kB / 0.5751 GB, free: 4.641 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.306e-05/0.4897, allocations: 31.94 kB / 0.5752 GB, free: 4.609 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.49, allocations: 27.97 kB / 0.5752 GB, free: 4.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.4905, allocations: 299.4 kB / 0.5755 GB, free: 4.258 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.4908, allocations: 0.7082 MB / 0.5762 GB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.4909, allocations: 19.44 kB / 0.5762 GB, free: 3.508 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4909, allocations: 0 / 0.5762 GB, free: 3.508 MB / 394.7 MB Notification: Performance of Templates: time 0.003659/0.4945, allocations: 1.982 MB / 0.5781 GB, free: 1.535 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches