Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001526, allocations: 178.3 kB / 8.005 MB, free: 1.07 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.731/1.731, 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.0008039/0.0008041, allocations: 86.64 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.2241/0.2241, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.606e-05/2.609e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1472, allocations: 58.87 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4819/0.6292, allocations: 87.94 MB / 0.5518 GB, free: 7.207 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.6294, allocations: 78.8 kB / 0.5519 GB, free: 7.168 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.6395, allocations: 4.211 MB / 0.556 GB, free: 3.852 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.6395, allocations: 0 / 0.556 GB, free: 3.852 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.6395, allocations: 0 / 0.556 GB, free: 3.852 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004521/0.64, allocations: 464.1 kB / 0.5565 GB, free: 3.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.64, allocations: 8.031 kB / 0.5565 GB, free: 3.352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.6401, allocations: 11.91 kB / 0.5565 GB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.6404, allocations: 239.3 kB / 0.5567 GB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.6404, allocations: 4 kB / 0.5567 GB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.6404, allocations: 8 kB / 0.5567 GB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.89e-05/0.6405, allocations: 30.23 kB / 0.5567 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.6407, allocations: 91.14 kB / 0.5568 GB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.6407, allocations: 3.938 kB / 0.5568 GB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.6407, allocations: 3.984 kB / 0.5568 GB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6407, allocations: 3.984 kB / 0.5568 GB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.6412, allocations: 494.3 kB / 0.5573 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.6414, allocations: 85.5 kB / 0.5574 GB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.6414, allocations: 34.03 kB / 0.5574 GB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.6415, allocations: 0 / 0.5574 GB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.6416, allocations: 73.2 kB / 0.5575 GB, free: 2.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.6416, allocations: 0 / 0.5575 GB, free: 2.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001951/0.6418, allocations: 103.1 kB / 0.5576 GB, free: 2.184 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.6418, allocations: 59.41 kB / 0.5577 GB, free: 2.113 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.642, allocations: 166.9 kB / 0.5578 GB, free: 1.957 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.642, allocations: 25.7 kB / 0.5578 GB, free: 1.926 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.642, allocations: 112.1 kB / 0.5579 GB, free: 1.828 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.642, allocations: 31.11 kB / 0.558 GB, free: 1.805 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.6421, allocations: 4 kB / 0.558 GB, free: 1.801 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.6421, allocations: 326.6 kB / 0.5583 GB, free: 1.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.579e-05/0.6422, allocations: 27.36 kB / 0.5583 GB, free: 1.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.498e-05/0.6422, allocations: 54.98 kB / 0.5584 GB, free: 1.402 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.678e-05/0.6423, allocations: 31.02 kB / 0.5584 GB, free: 1.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.6423, allocations: 0 / 0.5584 GB, free: 1.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000135/0.6424, allocations: 117.6 kB / 0.5585 GB, free: 1.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.6424, allocations: 8.125 kB / 0.5585 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.6425, allocations: 0 / 0.5585 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.6425, allocations: 4 kB / 0.5585 GB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.6426, allocations: 23.98 kB / 0.5585 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.6426, allocations: 3.953 kB / 0.5585 GB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.6427, allocations: 15.92 kB / 0.5586 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.6427, allocations: 7.812 kB / 0.5586 GB, free: 1.215 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.603e-05/0.6427, allocations: 105 kB / 0.5587 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.6428, allocations: 19.81 kB / 0.5587 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.6429, allocations: 112.1 kB / 0.5588 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.643, allocations: 0 / 0.5588 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.643, allocations: 0 / 0.5588 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.643, allocations: 7.953 kB / 0.5588 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.6431, allocations: 184 kB / 0.559 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6431, allocations: 0 / 0.559 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-05/0.6432, allocations: 15.98 kB / 0.559 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.6432, allocations: 0 / 0.559 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.6432, allocations: 4 kB / 0.559 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6432, allocations: 4 kB / 0.559 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6432, allocations: 0 / 0.559 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.6434, allocations: 167.9 kB / 0.5592 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.6435, allocations: 96.45 kB / 0.5593 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.6435, allocations: 4 kB / 0.5593 GB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.6436, allocations: 7.984 kB / 0.5593 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.6436, allocations: 12.05 kB / 0.5593 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.6436, allocations: 4 kB / 0.5593 GB, free: 488 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.477e-05/0.6437, allocations: 139.7 kB / 0.5594 GB, free: 368 kB / 362.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.6437, allocations: 0 / 0.5594 GB, free: 368 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.6439, allocations: 28.06 kB / 0.5594 GB, free: 340 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007183/0.6447, allocations: 357.8 kB / 0.5598 GB, free: 32 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.6448, allocations: 64.61 kB / 0.5598 GB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6449, allocations: 0 / 0.5598 GB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.665e-05/0.6449, allocations: 30.69 kB / 0.5599 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.6452, allocations: 38.42 kB / 0.5599 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.6456, allocations: 182.1 kB / 0.5601 GB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.6459, allocations: 0.7203 MB / 0.5608 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.383e-05/0.6459, allocations: 17.19 kB / 0.5608 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.646, allocations: 19.42 kB / 0.5608 GB, free: 14.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.646, allocations: 0 / 0.5608 GB, free: 14.96 MB / 378.7 MB Notification: Performance of Templates: time 0.004123/0.6501, allocations: 1.715 MB / 0.5625 GB, free: 13.27 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches