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.001105/0.001105, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.401/1.401, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.000788/0.000788, allocations: 89 kB / 267 MB, free: 9.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.3784/0.3784, allocations: 43.46 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.658e-05, allocations: 4 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.125, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3915/0.5165, allocations: 87.67 MB / 0.5584 GB, free: 16.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.5168, allocations: 72.95 kB / 0.5585 GB, free: 16.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01403/0.5308, allocations: 5.657 MB / 0.564 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5309, allocations: 3.062 kB / 0.564 GB, free: 13.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.5309, allocations: 4 kB / 0.564 GB, free: 13.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005038/0.5314, allocations: 430.1 kB / 0.5644 GB, free: 12.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5315, allocations: 16.03 kB / 0.5645 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.5315, allocations: 19.25 kB / 0.5645 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.5319, allocations: 236.7 kB / 0.5647 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.5319, allocations: 4 kB / 0.5647 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.5319, allocations: 8.203 kB / 0.5647 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.5321, allocations: 92.81 kB / 0.5648 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.5321, allocations: 7.5 kB / 0.5648 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.5321, allocations: 6.641 kB / 0.5648 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5322, allocations: 0 / 0.5648 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.5322, allocations: 30.62 kB / 0.5648 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.5324, allocations: 221.8 kB / 0.5651 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.5326, allocations: 101 kB / 0.5652 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.5327, allocations: 37.41 kB / 0.5652 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.5327, allocations: 0 / 0.5652 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.5329, allocations: 105.8 kB / 0.5653 GB, free: 12.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.5329, allocations: 4 kB / 0.5653 GB, free: 12.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002858/0.5332, allocations: 136.7 kB / 0.5654 GB, free: 11.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.5332, allocations: 131.2 kB / 0.5655 GB, free: 11.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.5334, allocations: 200.8 kB / 0.5657 GB, free: 11.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.5334, allocations: 31.86 kB / 0.5658 GB, free: 11.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.5335, allocations: 108.1 kB / 0.5659 GB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.5335, allocations: 30.31 kB / 0.5659 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.5335, allocations: 4 kB / 0.5659 GB, free: 11.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.578e-05/0.5336, allocations: 340.6 kB / 0.5662 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.5336, allocations: 22.94 kB / 0.5663 GB, free: 11.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.5337, allocations: 70.64 kB / 0.5663 GB, free: 11.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.5338, allocations: 27.42 kB / 0.5663 GB, free: 11.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5338, allocations: 0 / 0.5663 GB, free: 11.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001616/0.5339, allocations: 135.3 kB / 0.5665 GB, free: 10.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.534, allocations: 9.719 kB / 0.5665 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.534, allocations: 0 / 0.5665 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.534, allocations: 0 / 0.5665 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.5341, allocations: 27.92 kB / 0.5665 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.5341, allocations: 0 / 0.5665 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.5342, allocations: 11.98 kB / 0.5665 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.5342, allocations: 7.188 kB / 0.5665 GB, free: 10.85 MB / 394.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 5.773e-05/0.5343, allocations: 120.2 kB / 0.5666 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.5343, allocations: 15.81 kB / 0.5667 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.5346, allocations: 167.7 kB / 0.5668 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5346, allocations: 0 / 0.5668 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5346, allocations: 3.984 kB / 0.5668 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5346, allocations: 7.984 kB / 0.5668 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.5347, allocations: 223.8 kB / 0.567 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5347, allocations: 4 kB / 0.567 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.979e-05/0.5348, allocations: 11.94 kB / 0.5671 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5348, allocations: 4 kB / 0.5671 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.5348, allocations: 7.812 kB / 0.5671 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.5348, allocations: 3.984 kB / 0.5671 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5348, allocations: 0 / 0.5671 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.535, allocations: 181 kB / 0.5672 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.5351, allocations: 96.22 kB / 0.5673 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.5351, allocations: 11.25 kB / 0.5673 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.5352, allocations: 7.984 kB / 0.5674 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.5352, allocations: 7.938 kB / 0.5674 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.5352, allocations: 11.48 kB / 0.5674 GB, free: 9.977 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.5354, allocations: 168.9 kB / 0.5675 GB, free: 9.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5354, allocations: 0 / 0.5675 GB, free: 9.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.5356, allocations: 43.31 kB / 0.5676 GB, free: 9.801 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: 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.0008642/0.5365, allocations: 428.6 kB / 0.568 GB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.5367, allocations: 77.56 kB / 0.5681 GB, free: 9.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5367, allocations: 0 / 0.5681 GB, free: 9.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.386e-05/0.5367, allocations: 50.73 kB / 0.5681 GB, free: 9.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.5371, allocations: 51.66 kB / 0.5682 GB, free: 9.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.5375, allocations: 192.9 kB / 0.5683 GB, free: 9.133 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.5376, allocations: 0.7205 MB / 0.569 GB, free: 8.387 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.739e-05/0.5377, allocations: 33.3 kB / 0.5691 GB, free: 8.355 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.5377, allocations: 27.36 kB / 0.5691 GB, free: 8.328 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5377, allocations: 0 / 0.5691 GB, free: 8.328 MB / 394.7 MB Notification: Performance of Templates: time 0.004682/0.5424, allocations: 2.545 MB / 0.5716 GB, free: 5.805 MB / 394.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