Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001107, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.578/1.578, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009019/0.0009018, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2074/0.2074, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003246, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1395, allocations: 58.86 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.482/0.6215, allocations: 87.71 MB / 0.5644 GB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.6219, allocations: 77.95 kB / 0.5645 GB, free: 12.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01537/0.6373, allocations: 5.348 MB / 0.5697 GB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.576e-06/0.6374, allocations: 3.938 kB / 0.5697 GB, free: 7.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.6374, allocations: 4 kB / 0.5697 GB, free: 7.582 MB / 378.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.000666/0.6381, allocations: 416.7 kB / 0.5701 GB, free: 7.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.6381, allocations: 8.031 kB / 0.5701 GB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.6382, allocations: 11.91 kB / 0.5701 GB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.6386, allocations: 213.1 kB / 0.5703 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.6386, allocations: 0 / 0.5703 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.6386, allocations: 4 kB / 0.5704 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.6388, allocations: 56.23 kB / 0.5704 GB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.6388, allocations: 0 / 0.5704 GB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6389, allocations: 0 / 0.5704 GB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.6389, allocations: 4 kB / 0.5704 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.639, allocations: 19.28 kB / 0.5704 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.6395, allocations: 294.5 kB / 0.5707 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.6397, allocations: 64.92 kB / 0.5708 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.6398, allocations: 4 kB / 0.5708 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.64, allocations: 65.64 kB / 0.5708 GB, free: 6.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.328e-06/0.64, allocations: 4 kB / 0.5708 GB, free: 6.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006539/0.6407, allocations: 174 kB / 0.571 GB, free: 6.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.6407, allocations: 55.36 kB / 0.5711 GB, free: 6.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.6409, allocations: 167.5 kB / 0.5712 GB, free: 5.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.6409, allocations: 29.64 kB / 0.5712 GB, free: 5.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/0.641, allocations: 99.38 kB / 0.5713 GB, free: 5.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.6411, allocations: 22.59 kB / 0.5714 GB, free: 5.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.6411, allocations: 0 / 0.5714 GB, free: 5.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.6413, allocations: 329.9 kB / 0.5717 GB, free: 5.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.037e-05/0.6414, allocations: 23.48 kB / 0.5717 GB, free: 5.504 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.6415, allocations: 33.02 kB / 0.5717 GB, free: 5.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.57e-05/0.6416, allocations: 26.62 kB / 0.5718 GB, free: 5.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.6416, allocations: 0 / 0.5718 GB, free: 5.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002105/0.6418, allocations: 99.45 kB / 0.5719 GB, free: 5.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.6418, allocations: 10.66 kB / 0.5719 GB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6418, allocations: 4.031 kB / 0.5719 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.6419, allocations: 0 / 0.5719 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.642, allocations: 16.36 kB / 0.5719 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.642, allocations: 0 / 0.5719 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.6421, allocations: 12.14 kB / 0.5719 GB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.6421, allocations: 4 kB / 0.5719 GB, free: 5.328 MB / 378.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.0001627/0.6422, allocations: 136.4 kB / 0.572 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.6423, allocations: 7.906 kB / 0.572 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.6426, allocations: 127 kB / 0.5722 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6426, allocations: 0 / 0.5722 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.6426, allocations: 0 / 0.5722 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.6426, allocations: 0 / 0.5722 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005775/0.6432, allocations: 414.1 kB / 0.5726 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6432, allocations: 0 / 0.5726 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.6433, allocations: 11.98 kB / 0.5726 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.6433, allocations: 0 / 0.5726 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.6433, allocations: 8.031 kB / 0.5726 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.6433, allocations: 3.953 kB / 0.5726 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.6433, allocations: 7.922 kB / 0.5726 GB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.6436, allocations: 215.5 kB / 0.5728 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.6437, allocations: 95.47 kB / 0.5729 GB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.6438, allocations: 9.141 kB / 0.5729 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.6439, allocations: 8.75 kB / 0.5729 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.6439, allocations: 5.234 kB / 0.5729 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.6439, allocations: 4.625 kB / 0.5729 GB, free: 4.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001546/0.6441, allocations: 135.3 kB / 0.573 GB, free: 4.152 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6441, allocations: 0 / 0.573 GB, free: 4.152 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003769/0.6445, allocations: 27.81 kB / 0.5731 GB, free: 4.129 MB / 378.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.001355/0.6459, allocations: 480.1 kB / 0.5735 GB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.6461, allocations: 62.7 kB / 0.5736 GB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6461, allocations: 0 / 0.5736 GB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/0.6462, allocations: 36.67 kB / 0.5736 GB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.6465, allocations: 26.92 kB / 0.5736 GB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.6471, allocations: 229 kB / 0.5739 GB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.6474, allocations: 0.709 MB / 0.5745 GB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.6475, allocations: 12.55 kB / 0.5746 GB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.6475, allocations: 19.94 kB / 0.5746 GB, free: 2.609 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6475, allocations: 0 / 0.5746 GB, free: 2.609 MB / 378.7 MB Notification: Performance of Templates: time 0.004254/0.6518, allocations: 1.664 MB / 0.5762 GB, free: 0.9648 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches