Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001697/0.001697, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.392/1.392, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2263/0.2263, allocations: 44.2 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4467, allocations: 60.83 MB / 0.519 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003484/0.4502, allocations: 1.672 MB / 0.5206 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.4517, allocations: 0.8497 MB / 0.5214 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.4517, allocations: 1.156 kB / 0.5214 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.4521, allocations: 65.19 kB / 0.5215 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.4524, allocations: 65.11 kB / 0.5216 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.4527, allocations: 116.2 kB / 0.5217 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.4529, allocations: 94.69 kB / 0.5218 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.4529, allocations: 5.75 kB / 0.5218 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.4531, allocations: 50.44 kB / 0.5218 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.4532, allocations: 40.33 kB / 0.5219 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.4532, allocations: 3.25 kB / 0.5219 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.4533, allocations: 33.8 kB / 0.5219 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.802e-05/0.4534, allocations: 18.27 kB / 0.5219 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.379e-05/0.4535, allocations: 41.11 kB / 0.5219 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.4538, allocations: 97.06 kB / 0.522 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.4538, allocations: 1.188 kB / 0.522 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4538, allocations: 0 / 0.522 GB, free: 1.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.4538, allocations: 0 / 0.522 GB, free: 1.863 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006669/0.4545, allocations: 400.8 kB / 0.5224 GB, free: 1.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.4545, allocations: 8.938 kB / 0.5224 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.4546, allocations: 10.2 kB / 0.5224 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.4549, allocations: 205.3 kB / 0.5226 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.4549, allocations: 6.047 kB / 0.5226 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.455, allocations: 5.312 kB / 0.5226 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.4552, allocations: 51.06 kB / 0.5227 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4552, allocations: 0 / 0.5227 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4552, allocations: 1.312 kB / 0.5227 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4552, allocations: 0 / 0.5227 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.711e-05/0.4553, allocations: 16.56 kB / 0.5227 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.4555, allocations: 186 kB / 0.5229 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.4556, allocations: 52.55 kB / 0.5229 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.4557, allocations: 28.05 kB / 0.523 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.4557, allocations: 1.094 kB / 0.523 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.4559, allocations: 67.97 kB / 0.523 GB, free: 0.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.4559, allocations: 1.062 kB / 0.523 GB, free: 0.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002807/0.4562, allocations: 96.36 kB / 0.5231 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.4562, allocations: 56.53 kB / 0.5232 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.4564, allocations: 189.7 kB / 0.5234 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.4564, allocations: 27.11 kB / 0.5234 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.4565, allocations: 99.17 kB / 0.5235 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.4565, allocations: 14.19 kB / 0.5235 GB, free: 496 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.4565, allocations: 21.3 kB / 0.5235 GB, free: 476 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.591e-05/0.4566, allocations: 324.9 kB / 0.5238 GB, free: 148 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.4567, allocations: 14.7 kB / 0.5238 GB, free: 144 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-05/0.4567, allocations: 26.08 kB / 0.5239 GB, free: 124 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.219e-05/0.4568, allocations: 42.02 kB / 0.5239 GB, free: 96 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4568, allocations: 256 / 0.5239 GB, free: 96 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001496/0.457, allocations: 96.67 kB / 0.524 GB, free: 28 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.457, allocations: 10.34 kB / 0.524 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.457, allocations: 0 / 0.524 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.457, allocations: 2.516 kB / 0.524 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.897e-05/0.4571, allocations: 8.688 kB / 0.524 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4571, allocations: 1.469 kB / 0.524 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.4572, allocations: 7.469 kB / 0.524 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.4572, allocations: 6.703 kB / 0.524 GB, free: 16 kB / 382.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 (7): * Single equations (assignments): 7 * 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.0001322/0.4573, allocations: 124.8 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.4574, allocations: 9.766 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.4574, allocations: 16.97 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4574, allocations: 1.672 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4574, allocations: 0 / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4574, allocations: 1.891 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.4576, allocations: 184.5 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4576, allocations: 0.5625 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.12e-05/0.4577, allocations: 4.812 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.4577, allocations: 3.984 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4577, allocations: 5.766 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4577, allocations: 1.062 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4577, allocations: 4.703 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.4579, allocations: 116.3 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.458, allocations: 84.12 kB / 0.5246 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.458, allocations: 1.641 kB / 0.5246 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.722e-05/0.458, allocations: 3.25 kB / 0.5246 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.4581, allocations: 3.656 kB / 0.5246 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.4581, allocations: 3.281 kB / 0.5246 GB, free: 15.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.4582, allocations: 142.9 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4583, allocations: 0 / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.4585, allocations: 17.89 kB / 0.5247 GB, free: 15.37 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009984/0.4595, allocations: 415 kB / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.4597, allocations: 45.7 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4597, allocations: 0 / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.341e-05/0.4597, allocations: 17.38 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.46, allocations: 38.06 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.4605, allocations: 196.5 kB / 0.5254 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.4608, allocations: 0.7002 MB / 0.5261 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.434e-05/0.4609, allocations: 19.12 kB / 0.5261 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.4609, allocations: 15.84 kB / 0.5261 GB, free: 14.28 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4609, allocations: 0 / 0.5261 GB, free: 14.28 MB / 398.1 MB Notification: Performance of Templates: time 0.004604/0.4655, allocations: 1.483 MB / 0.5276 GB, free: 13.85 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches