Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001191/0.001191, allocations: 180.1 kB / 18.71 MB, free: 4.348 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.481/1.481, 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.2231/0.2231, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 59.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4501, allocations: 60.83 MB / 0.519 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.004022/0.4542, allocations: 1.707 MB / 0.5207 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.4557, allocations: 0.8752 MB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.4558, allocations: 5.062 kB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.4562, allocations: 38.38 kB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.4564, allocations: 58.95 kB / 0.5216 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.4567, allocations: 106.9 kB / 0.5217 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.4569, allocations: 99.67 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.457, allocations: 19.27 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.4571, allocations: 37.45 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.4572, allocations: 34.42 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.4573, allocations: 3.375 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.4574, allocations: 43.77 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.4575, allocations: 18.42 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.4575, allocations: 33.06 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.4578, allocations: 113.1 kB / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4578, allocations: 5.094 kB / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4578, allocations: 4 kB / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.4578, allocations: 0 / 0.5221 GB, free: 1.543 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.0004988/0.4583, allocations: 414.8 kB / 0.5225 GB, free: 1.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4584, allocations: 9.703 kB / 0.5225 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.4584, allocations: 17.91 kB / 0.5225 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.4586, allocations: 211 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.4587, allocations: 2.328 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.4587, allocations: 6.625 kB / 0.5227 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4588, allocations: 62.33 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4589, allocations: 3.938 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4589, allocations: 1.578 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.4589, allocations: 1.062 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.15e-05/0.459, allocations: 18.06 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.4593, allocations: 287.4 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.4595, allocations: 60.08 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.4595, allocations: 25.27 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.4596, allocations: 0 / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.4597, allocations: 65.66 kB / 0.5232 GB, free: 460 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4597, allocations: 0 / 0.5232 GB, free: 460 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005436/0.4603, allocations: 177.7 kB / 0.5234 GB, free: 368 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.4603, allocations: 60.47 kB / 0.5235 GB, free: 296 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.4605, allocations: 197.7 kB / 0.5236 GB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.4605, allocations: 26.89 kB / 0.5237 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.4605, allocations: 104.9 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.4606, allocations: 24.86 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.4606, allocations: 22.91 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4608, allocations: 326.3 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.4608, allocations: 21.06 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.4609, allocations: 40.75 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.4611, allocations: 61.22 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4611, allocations: 0 / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001837/0.4612, allocations: 104.5 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4613, allocations: 6.312 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4613, allocations: 1.156 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4613, allocations: 5.25 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/0.4614, allocations: 15.98 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4614, allocations: 4.594 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.4615, allocations: 10.39 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.4615, allocations: 3.828 kB / 0.5244 GB, free: 15.52 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.0001056/0.4616, allocations: 122.4 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.4616, allocations: 13.77 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.419e-05/0.4617, allocations: 24.41 kB / 0.5245 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4617, allocations: 5.688 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4617, allocations: 4 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.4617, allocations: 6.953 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.4622, allocations: 381.5 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4622, allocations: 5.188 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.4623, allocations: 12.28 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4623, allocations: 1.984 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.4623, allocations: 6.016 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4623, allocations: 1.031 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4623, allocations: 5.969 kB / 0.525 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.4625, allocations: 208.3 kB / 0.5252 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.4626, allocations: 85.92 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.4626, allocations: 6.516 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.4627, allocations: 2.609 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.4627, allocations: 8.375 kB / 0.5253 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.4628, allocations: 12.5 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.4629, allocations: 147.3 kB / 0.5254 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4629, allocations: 0 / 0.5254 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.4632, allocations: 27.27 kB / 0.5254 GB, free: 14.62 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.001053/0.4642, allocations: 470.3 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.4645, allocations: 55.55 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4645, allocations: 0 / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.568e-05/0.4645, allocations: 29.08 kB / 0.526 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.4649, allocations: 33.75 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.4653, allocations: 231.2 kB / 0.5262 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.4657, allocations: 0.7076 MB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.4657, allocations: 15.23 kB / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.4658, allocations: 20.91 kB / 0.5269 GB, free: 13.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4658, allocations: 0 / 0.5269 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.004887/0.4707, allocations: 1.739 MB / 0.5286 GB, free: 12.9 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches