Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 180.9 kB / 8.006 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.578/1.578, allocations: 205.3 MB / 213.7 MB, free: 1.68 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.0008849/0.0008849, allocations: 88.03 kB / 261.7 MB, free: 1.621 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.2487/0.2487, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.487e-05/2.507e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 58.85 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4049/0.5282, allocations: 87 MB / 0.5509 GB, free: 8.027 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.5284, allocations: 77.92 kB / 0.551 GB, free: 7.988 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01303/0.5415, allocations: 5.521 MB / 0.5564 GB, free: 3.809 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5415, allocations: 0 / 0.5564 GB, free: 3.809 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.5416, allocations: 8 kB / 0.5564 GB, free: 3.801 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004837/0.5421, allocations: 428.5 kB / 0.5568 GB, free: 3.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.5421, allocations: 8.031 kB / 0.5568 GB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.5422, allocations: 19.38 kB / 0.5568 GB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.5425, allocations: 251.4 kB / 0.557 GB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.5426, allocations: 0 / 0.557 GB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.5426, allocations: 7.984 kB / 0.5571 GB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.464e-05/0.5427, allocations: 26.44 kB / 0.5571 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.5428, allocations: 97.14 kB / 0.5572 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5429, allocations: 0 / 0.5572 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.5429, allocations: 0 / 0.5572 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5429, allocations: 4 kB / 0.5572 GB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.5431, allocations: 194 kB / 0.5574 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.5432, allocations: 88.22 kB / 0.5574 GB, free: 2.625 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.5433, allocations: 41.95 kB / 0.5575 GB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.5433, allocations: 3.938 kB / 0.5575 GB, free: 2.582 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.5435, allocations: 103 kB / 0.5576 GB, free: 2.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.5435, allocations: 0 / 0.5576 GB, free: 2.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002763/0.5438, allocations: 131.9 kB / 0.5577 GB, free: 2.363 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.5438, allocations: 132.5 kB / 0.5578 GB, free: 2.203 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.544, allocations: 200.9 kB / 0.558 GB, free: 2.031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.544, allocations: 29.7 kB / 0.5581 GB, free: 1.996 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.544, allocations: 109.7 kB / 0.5582 GB, free: 1.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.5441, allocations: 23.22 kB / 0.5582 GB, free: 1.887 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.5441, allocations: 0 / 0.5582 GB, free: 1.887 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.5442, allocations: 329.4 kB / 0.5585 GB, free: 1.562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-05/0.5442, allocations: 27.38 kB / 0.5585 GB, free: 1.543 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.102e-05/0.5443, allocations: 67.27 kB / 0.5586 GB, free: 1.473 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.317e-05/0.5443, allocations: 35 kB / 0.5586 GB, free: 1.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5443, allocations: 0 / 0.5586 GB, free: 1.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001567/0.5445, allocations: 122.2 kB / 0.5587 GB, free: 1.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.5445, allocations: 4 kB / 0.5587 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5445, allocations: 96 / 0.5587 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5445, allocations: 8 kB / 0.5588 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.5447, allocations: 19.98 kB / 0.5588 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5447, allocations: 4 kB / 0.5588 GB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.5448, allocations: 4 kB / 0.5588 GB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.5448, allocations: 10.98 kB / 0.5588 GB, free: 1.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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 7.014e-05/0.5449, allocations: 112.9 kB / 0.5589 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.5449, allocations: 19.72 kB / 0.5589 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.5451, allocations: 155.9 kB / 0.5591 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5451, allocations: 4.375 kB / 0.5591 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5452, allocations: 0 / 0.5591 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5452, allocations: 3.938 kB / 0.5591 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.5453, allocations: 201.4 kB / 0.5593 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5453, allocations: 0 / 0.5593 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.5454, allocations: 8 kB / 0.5593 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.5454, allocations: 7.953 kB / 0.5593 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.5454, allocations: 3.984 kB / 0.5593 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5454, allocations: 0 / 0.5593 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5454, allocations: 8 kB / 0.5593 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.5456, allocations: 171.3 kB / 0.5595 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.5456, allocations: 104.8 kB / 0.5596 GB, free: 500 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.5457, allocations: 3.875 kB / 0.5596 GB, free: 500 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.5458, allocations: 7.984 kB / 0.5596 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.5458, allocations: 15.98 kB / 0.5596 GB, free: 476 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.5458, allocations: 4 kB / 0.5596 GB, free: 472 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.5459, allocations: 154.7 kB / 0.5597 GB, free: 348 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5459, allocations: 0 / 0.5597 GB, free: 348 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.5462, allocations: 43.88 kB / 0.5598 GB, free: 304 kB / 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008546/0.5471, allocations: 395.8 kB / 0.5602 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.5472, allocations: 73.05 kB / 0.5602 GB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.5473, allocations: 4 kB / 0.5602 GB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.5473, allocations: 34.44 kB / 0.5603 GB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.5477, allocations: 45.56 kB / 0.5603 GB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.5481, allocations: 199.1 kB / 0.5605 GB, free: 15.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.5484, allocations: 0.7163 MB / 0.5612 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.5485, allocations: 37.73 kB / 0.5612 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.5485, allocations: 34.98 kB / 0.5613 GB, free: 14.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5486, allocations: 0 / 0.5613 GB, free: 14.84 MB / 378.7 MB Notification: Performance of Templates: time 0.005726/0.5543, allocations: 2.436 MB / 0.5636 GB, free: 12.43 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches