Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 185 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2545/0.2545, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.89 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.5459, allocations: 60.83 MB / 0.519 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.004415/0.5504, allocations: 1.704 MB / 0.5206 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.5523, allocations: 0.8805 MB / 0.5215 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.5524, allocations: 1.125 kB / 0.5215 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00047/0.5529, allocations: 45.91 kB / 0.5216 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.5533, allocations: 58.45 kB / 0.5216 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.5537, allocations: 110.1 kB / 0.5217 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.5539, allocations: 100.1 kB / 0.5218 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.5541, allocations: 8.438 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.5542, allocations: 40.48 kB / 0.5219 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.5543, allocations: 30.45 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.5544, allocations: 3.438 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.5545, allocations: 42.31 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.245e-05/0.5546, allocations: 33.5 kB / 0.522 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.802e-05/0.5547, allocations: 37.89 kB / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.555, allocations: 116.6 kB / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.555, allocations: 0 / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.5551, allocations: 1.438 kB / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.5551, allocations: 0 / 0.5221 GB, free: 1.559 MB / 382.1 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.0008271/0.5559, allocations: 431 kB / 0.5225 GB, free: 1.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.659e-05/0.556, allocations: 9.938 kB / 0.5225 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/0.5561, allocations: 14.12 kB / 0.5225 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.5564, allocations: 216.7 kB / 0.5228 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.5565, allocations: 2.391 kB / 0.5228 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.5565, allocations: 6.406 kB / 0.5228 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.5567, allocations: 53.23 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.5567, allocations: 1.906 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.5568, allocations: 0 / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.5568, allocations: 1.125 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.5569, allocations: 18.06 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.5574, allocations: 302 kB / 0.5231 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.5576, allocations: 59.75 kB / 0.5232 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/0.5577, allocations: 24.39 kB / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.5577, allocations: 9.391 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.5579, allocations: 69.77 kB / 0.5233 GB, free: 452 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.5579, allocations: 0 / 0.5233 GB, free: 452 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007455/0.5587, allocations: 174.4 kB / 0.5234 GB, free: 364 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.5587, allocations: 56.38 kB / 0.5235 GB, free: 296 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.5591, allocations: 219 kB / 0.5237 GB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.5591, allocations: 27.08 kB / 0.5237 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.5592, allocations: 109.5 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.5593, allocations: 22.22 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.952e-05/0.5594, allocations: 25.56 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.5596, allocations: 331 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.5596, allocations: 22.33 kB / 0.5242 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.242e-05/0.5597, allocations: 35.3 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.5599, allocations: 56.94 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5599, allocations: 1.406 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002257/0.5601, allocations: 108.9 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5602, allocations: 6.422 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5602, allocations: 1.438 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.5602, allocations: 0.5625 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.5603, allocations: 19.34 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.5603, allocations: 1.719 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.5604, allocations: 13.97 kB / 0.5245 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.5604, allocations: 3.875 kB / 0.5245 GB, free: 15.51 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.5606, allocations: 138.5 kB / 0.5246 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.5606, allocations: 13.83 kB / 0.5246 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.5607, allocations: 18.17 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5607, allocations: 1.938 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5607, allocations: 0 / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.5607, allocations: 5.75 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.5612, allocations: 397.5 kB / 0.525 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5612, allocations: 0 / 0.525 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.5613, allocations: 14.53 kB / 0.525 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5613, allocations: 0 / 0.525 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.5613, allocations: 10.67 kB / 0.525 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5613, allocations: 1.125 kB / 0.525 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5613, allocations: 1.75 kB / 0.525 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.5616, allocations: 205.8 kB / 0.5252 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.5617, allocations: 83.98 kB / 0.5253 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.5617, allocations: 14.3 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.5618, allocations: 7.891 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.5618, allocations: 5.391 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.5619, allocations: 4.141 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002902/0.5622, allocations: 175.1 kB / 0.5255 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5622, allocations: 0 / 0.5255 GB, free: 14.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000272/0.5624, allocations: 22.52 kB / 0.5255 GB, free: 14.6 MB / 398.1 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/0.5637, allocations: 467.1 kB / 0.526 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.564, allocations: 60.53 kB / 0.526 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.564, allocations: 0 / 0.526 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.672e-05/0.5641, allocations: 32.69 kB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.5645, allocations: 32.27 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.5652, allocations: 252.8 kB / 0.5263 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.5657, allocations: 0.7136 MB / 0.527 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.451e-05/0.5657, allocations: 22.38 kB / 0.527 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.5658, allocations: 16.19 kB / 0.5271 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5658, allocations: 0 / 0.5271 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.006888/0.5727, allocations: 1.738 MB / 0.5288 GB, free: 12.85 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches