Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008869/0.0008869, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.743/1.743, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007788/0.0007789, allocations: 86.36 kB / 271.3 MB, free: 8.25 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.3875/0.3875, allocations: 43.57 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004029, allocations: 15.98 kB / 432.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1373, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3792/0.5166, allocations: 87.73 MB / 0.5656 GB, free: 14.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.5169, allocations: 75.95 kB / 0.5657 GB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01477/0.5317, allocations: 5.297 MB / 0.5709 GB, free: 8.789 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5317, allocations: 4 kB / 0.5709 GB, free: 8.785 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.5318, allocations: 0 / 0.5709 GB, free: 8.785 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006267/0.5324, allocations: 418 kB / 0.5713 GB, free: 8.328 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.5325, allocations: 8.031 kB / 0.5713 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.5325, allocations: 12.84 kB / 0.5713 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.5329, allocations: 219.1 kB / 0.5715 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.5329, allocations: 8.297 kB / 0.5715 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.5329, allocations: 4.375 kB / 0.5715 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.5331, allocations: 58.23 kB / 0.5716 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5331, allocations: 4.172 kB / 0.5716 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.5331, allocations: 3.938 kB / 0.5716 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5331, allocations: 4 kB / 0.5716 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.5332, allocations: 19.98 kB / 0.5716 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.5337, allocations: 292.9 kB / 0.5719 GB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.5338, allocations: 66.55 kB / 0.5719 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/0.5339, allocations: 24.78 kB / 0.572 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.5339, allocations: 0 / 0.572 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.5341, allocations: 71.39 kB / 0.572 GB, free: 7.434 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.5341, allocations: 0 / 0.572 GB, free: 7.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006061/0.5347, allocations: 169.2 kB / 0.5722 GB, free: 7.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.5348, allocations: 59.39 kB / 0.5723 GB, free: 7.191 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.535, allocations: 178.2 kB / 0.5724 GB, free: 7.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.535, allocations: 33.69 kB / 0.5725 GB, free: 6.969 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.5351, allocations: 96.14 kB / 0.5726 GB, free: 6.871 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.5351, allocations: 35.62 kB / 0.5726 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.5352, allocations: 0 / 0.5726 GB, free: 6.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.5353, allocations: 330.8 kB / 0.5729 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.5354, allocations: 23.92 kB / 0.5729 GB, free: 6.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.5355, allocations: 34.45 kB / 0.573 GB, free: 6.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.5356, allocations: 57.72 kB / 0.573 GB, free: 6.379 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5356, allocations: 4 kB / 0.573 GB, free: 6.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.5358, allocations: 105.4 kB / 0.5731 GB, free: 6.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5358, allocations: 8 kB / 0.5731 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5358, allocations: 0 / 0.5731 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5359, allocations: 192 / 0.5731 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.335e-05/0.536, allocations: 15.98 kB / 0.5731 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.536, allocations: 7.938 kB / 0.5731 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.536, allocations: 0 / 0.5731 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.5361, allocations: 4 kB / 0.5731 GB, free: 6.23 MB / 394.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.0001183/0.5362, allocations: 137.7 kB / 0.5733 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.5362, allocations: 11.91 kB / 0.5733 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.5365, allocations: 114.3 kB / 0.5734 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5365, allocations: 4 kB / 0.5734 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.5365, allocations: 0 / 0.5734 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5365, allocations: 0 / 0.5734 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.537, allocations: 419.2 kB / 0.5738 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.537, allocations: 384 / 0.5738 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.5371, allocations: 8 kB / 0.5738 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5371, allocations: 4 kB / 0.5738 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.5371, allocations: 4 kB / 0.5738 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.5371, allocations: 0 / 0.5738 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5371, allocations: 7.875 kB / 0.5738 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.5374, allocations: 220.2 kB / 0.574 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.5375, allocations: 89.02 kB / 0.5741 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.5375, allocations: 0 / 0.5741 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.5376, allocations: 11.98 kB / 0.5741 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.5376, allocations: 7.938 kB / 0.5741 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.5376, allocations: 7.984 kB / 0.5741 GB, free: 5.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.5378, allocations: 136.8 kB / 0.5743 GB, free: 4.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5378, allocations: 0 / 0.5743 GB, free: 4.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.538, allocations: 39.92 kB / 0.5743 GB, free: 4.918 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: 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.001098/0.5392, allocations: 489.4 kB / 0.5748 GB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.5394, allocations: 59.91 kB / 0.5748 GB, free: 4.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5394, allocations: 8.062 kB / 0.5748 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.5395, allocations: 27.98 kB / 0.5749 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.5398, allocations: 23.98 kB / 0.5749 GB, free: 4.426 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.5403, allocations: 260.8 kB / 0.5751 GB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.5407, allocations: 0.7043 MB / 0.5758 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.968e-05/0.5407, allocations: 12.56 kB / 0.5758 GB, free: 3.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.5408, allocations: 23.42 kB / 0.5759 GB, free: 3.383 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5408, allocations: 0 / 0.5759 GB, free: 3.383 MB / 394.7 MB Notification: Performance of Templates: time 0.004499/0.5453, allocations: 1.677 MB / 0.5775 GB, free: 1.715 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches