Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 177.3 kB / 17.41 MB, free: 4.418 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.512/1.512, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007751/0.0007753, allocations: 85.38 kB / 271.9 MB, free: 8.273 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.4239/0.4239, allocations: 43.56 MB / 363.8 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004028, allocations: 16 kB / 432.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1473, allocations: 58.85 MB / 491.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.5411, allocations: 87.76 MB / 0.5656 GB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.5414, allocations: 75.95 kB / 0.5657 GB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01438/0.5558, allocations: 5.377 MB / 0.571 GB, free: 9.266 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5558, allocations: 0 / 0.571 GB, free: 9.266 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.5558, allocations: 0 / 0.571 GB, free: 9.266 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.0005366/0.5564, allocations: 422 kB / 0.5714 GB, free: 8.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5564, allocations: 8.031 kB / 0.5714 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.5565, allocations: 11.94 kB / 0.5714 GB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.5568, allocations: 223 kB / 0.5716 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.5568, allocations: 384 / 0.5716 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.5568, allocations: 8.359 kB / 0.5716 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.557, allocations: 55.11 kB / 0.5717 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.557, allocations: 192 / 0.5717 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.557, allocations: 3.938 kB / 0.5717 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.557, allocations: 4 kB / 0.5717 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.289e-05/0.5571, allocations: 23.98 kB / 0.5717 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.5576, allocations: 292.8 kB / 0.572 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.5577, allocations: 66.55 kB / 0.572 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.5578, allocations: 20.84 kB / 0.5721 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.5578, allocations: 4 kB / 0.5721 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.558, allocations: 71.39 kB / 0.5721 GB, free: 7.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.558, allocations: 0 / 0.5721 GB, free: 7.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005471/0.5585, allocations: 173.2 kB / 0.5723 GB, free: 7.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.5586, allocations: 55.41 kB / 0.5723 GB, free: 7.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.5588, allocations: 182.2 kB / 0.5725 GB, free: 7.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.5588, allocations: 29.64 kB / 0.5725 GB, free: 7.453 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.5589, allocations: 104.1 kB / 0.5726 GB, free: 7.348 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.5589, allocations: 31.62 kB / 0.5727 GB, free: 7.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/0.5589, allocations: 4 kB / 0.5727 GB, free: 7.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.559, allocations: 326.8 kB / 0.573 GB, free: 6.984 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.5591, allocations: 20 kB / 0.573 GB, free: 6.965 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-05/0.5592, allocations: 33.7 kB / 0.573 GB, free: 6.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.5593, allocations: 62.48 kB / 0.5731 GB, free: 6.859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5593, allocations: 0 / 0.5731 GB, free: 6.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001795/0.5595, allocations: 106.6 kB / 0.5732 GB, free: 6.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5595, allocations: 8 kB / 0.5732 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.5595, allocations: 0 / 0.5732 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5596, allocations: 3.984 kB / 0.5732 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.5596, allocations: 19.92 kB / 0.5732 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.5597, allocations: 8.141 kB / 0.5732 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.5597, allocations: 4.031 kB / 0.5732 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.5598, allocations: 8 kB / 0.5733 GB, free: 6.699 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.0002504/0.56, allocations: 130.6 kB / 0.5734 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.5601, allocations: 11.91 kB / 0.5734 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005282/0.5606, allocations: 122.4 kB / 0.5735 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5607, allocations: 0 / 0.5735 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5607, allocations: 0 / 0.5735 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.5607, allocations: 0 / 0.5735 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.5617, allocations: 415.2 kB / 0.5739 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.5618, allocations: 0 / 0.5739 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.733e-05/0.5619, allocations: 11.98 kB / 0.5739 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.5619, allocations: 4 kB / 0.5739 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.5619, allocations: 4 kB / 0.5739 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.562, allocations: 3.938 kB / 0.5739 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.562, allocations: 7.938 kB / 0.5739 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.5623, allocations: 212.2 kB / 0.5741 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.5623, allocations: 89.02 kB / 0.5742 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.5624, allocations: 4 kB / 0.5742 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.5624, allocations: 8.359 kB / 0.5742 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.5625, allocations: 7.938 kB / 0.5742 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.5625, allocations: 11.94 kB / 0.5742 GB, free: 5.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.5626, allocations: 140.8 kB / 0.5744 GB, free: 5.426 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5627, allocations: 4 kB / 0.5744 GB, free: 5.422 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.5629, allocations: 39.92 kB / 0.5744 GB, free: 5.383 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.0009728/0.5639, allocations: 473.6 kB / 0.5749 GB, free: 5.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.5641, allocations: 67.84 kB / 0.5749 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5641, allocations: 0 / 0.5749 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.778e-05/0.5642, allocations: 28 kB / 0.575 GB, free: 4.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.5646, allocations: 27.97 kB / 0.575 GB, free: 4.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.565, allocations: 286.6 kB / 0.5753 GB, free: 4.586 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.5653, allocations: 0.7043 MB / 0.576 GB, free: 3.855 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.5654, allocations: 15.44 kB / 0.576 GB, free: 3.84 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5654, allocations: 0 / 0.576 GB, free: 3.84 MB / 394.7 MB Notification: Performance of Templates: time 0.00345/0.5688, allocations: 1.908 MB / 0.5778 GB, free: 1.941 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches