Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009742/0.0009741, allocations: 173.7 kB / 8 MB, free: 1.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009227/0.000923, allocations: 82.17 kB / 261.7 MB, free: 1.617 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.2362/0.2362, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.88e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 58.85 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.5665, allocations: 86.91 MB / 0.5508 GB, free: 8.031 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.5668, allocations: 77.2 kB / 0.5509 GB, free: 7.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01227/0.5791, allocations: 5.139 MB / 0.5559 GB, free: 3.941 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5792, allocations: 4 kB / 0.5559 GB, free: 3.938 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.5792, allocations: 4 kB / 0.5559 GB, free: 3.934 MB / 362.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.0003791/0.5796, allocations: 394.2 kB / 0.5563 GB, free: 3.516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5796, allocations: 8.031 kB / 0.5563 GB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.5797, allocations: 7.906 kB / 0.5563 GB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.5799, allocations: 214.8 kB / 0.5565 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.58, allocations: 0 / 0.5565 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.58, allocations: 0 / 0.5565 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.397e-05/0.5801, allocations: 19.94 kB / 0.5565 GB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.41e-05/0.5802, allocations: 53.11 kB / 0.5566 GB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5802, allocations: 7.875 kB / 0.5566 GB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5802, allocations: 0 / 0.5566 GB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5802, allocations: 0 / 0.5566 GB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.5805, allocations: 268.6 kB / 0.5568 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.59e-05/0.5806, allocations: 50.25 kB / 0.5569 GB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.5807, allocations: 20.66 kB / 0.5569 GB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.5807, allocations: 0 / 0.5569 GB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.5809, allocations: 66.77 kB / 0.557 GB, free: 2.758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.5809, allocations: 0 / 0.557 GB, free: 2.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004222/0.5813, allocations: 147.9 kB / 0.5571 GB, free: 2.633 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.5813, allocations: 55.16 kB / 0.5572 GB, free: 2.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.5815, allocations: 149.5 kB / 0.5573 GB, free: 2.426 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.5815, allocations: 25.7 kB / 0.5573 GB, free: 2.395 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.5815, allocations: 103.4 kB / 0.5574 GB, free: 2.301 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.5816, allocations: 19.66 kB / 0.5575 GB, free: 2.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.5816, allocations: 3.938 kB / 0.5575 GB, free: 2.281 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.277e-05/0.5816, allocations: 322.8 kB / 0.5578 GB, free: 1.961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/0.5817, allocations: 19.69 kB / 0.5578 GB, free: 1.949 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.5817, allocations: 37.33 kB / 0.5578 GB, free: 1.914 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.779e-05/0.5818, allocations: 15.31 kB / 0.5578 GB, free: 1.906 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.5818, allocations: 0 / 0.5578 GB, free: 1.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001093/0.5819, allocations: 96.73 kB / 0.5579 GB, free: 1.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.5819, allocations: 4 kB / 0.5579 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5819, allocations: 0 / 0.5579 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5819, allocations: 4 kB / 0.5579 GB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.582, allocations: 12 kB / 0.5579 GB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.5821, allocations: 3.984 kB / 0.558 GB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.5821, allocations: 8.031 kB / 0.558 GB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.5821, allocations: 11.77 kB / 0.558 GB, free: 1.777 MB / 362.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 () * 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 5.99e-05/0.5822, allocations: 101 kB / 0.5581 GB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.5822, allocations: 11.84 kB / 0.5581 GB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.5824, allocations: 109.8 kB / 0.5582 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5824, allocations: 0 / 0.5582 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5824, allocations: 4.094 kB / 0.5582 GB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5824, allocations: 3.938 kB / 0.5582 GB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.5827, allocations: 369.8 kB / 0.5585 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5827, allocations: 0 / 0.5585 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.5828, allocations: 12 kB / 0.5586 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5828, allocations: 3.984 kB / 0.5586 GB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.5828, allocations: 0 / 0.5586 GB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5828, allocations: 0 / 0.5586 GB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5828, allocations: 7.938 kB / 0.5586 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.583, allocations: 217.2 kB / 0.5588 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.5831, allocations: 85.02 kB / 0.5589 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.5831, allocations: 3.984 kB / 0.5589 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.5832, allocations: 4 kB / 0.5589 GB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.5832, allocations: 11.89 kB / 0.5589 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.5832, allocations: 7.859 kB / 0.5589 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.166e-05/0.5833, allocations: 120 kB / 0.559 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5833, allocations: 4 kB / 0.559 GB, free: 0.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.5836, allocations: 35.88 kB / 0.559 GB, free: 0.6758 MB / 362.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) * 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.000869/0.5844, allocations: 396.6 kB / 0.5594 GB, free: 352 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.5846, allocations: 55.05 kB / 0.5595 GB, free: 312 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5846, allocations: 0 / 0.5595 GB, free: 312 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/0.5846, allocations: 31.75 kB / 0.5595 GB, free: 288 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.5849, allocations: 23.91 kB / 0.5595 GB, free: 268 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.5852, allocations: 141.6 kB / 0.5597 GB, free: 112 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.5855, allocations: 0.7079 MB / 0.5603 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.748e-05/0.5856, allocations: 8.562 kB / 0.5604 GB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.5856, allocations: 19.42 kB / 0.5604 GB, free: 15.35 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5856, allocations: 0 / 0.5604 GB, free: 15.35 MB / 378.7 MB Notification: Performance of Templates: time 0.004123/0.5897, allocations: 1.587 MB / 0.5619 GB, free: 13.79 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches