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.001563/0.001563, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.00171/0.00171, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2218/0.2218, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.89 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.4542, allocations: 60.81 MB / 0.519 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003258/0.4575, allocations: 1.675 MB / 0.5206 GB, free: 2.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.459, allocations: 0.8507 MB / 0.5214 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.4591, allocations: 5.375 kB / 0.5214 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.4595, allocations: 60.45 kB / 0.5215 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.4598, allocations: 69.88 kB / 0.5216 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.4602, allocations: 104 kB / 0.5217 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.4604, allocations: 97.89 kB / 0.5218 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.161e-05/0.4605, allocations: 5.281 kB / 0.5218 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.4606, allocations: 51.31 kB / 0.5218 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.4608, allocations: 40.23 kB / 0.5218 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.4608, allocations: 3.562 kB / 0.5218 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.4609, allocations: 37.52 kB / 0.5219 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.461, allocations: 26.75 kB / 0.5219 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.4611, allocations: 23.48 kB / 0.5219 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.4614, allocations: 97.77 kB / 0.522 GB, free: 1.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.4614, allocations: 0.7031 kB / 0.522 GB, free: 1.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4614, allocations: 1.156 kB / 0.522 GB, free: 1.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.4614, allocations: 0 / 0.522 GB, free: 1.875 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.0006166/0.462, allocations: 399.9 kB / 0.5224 GB, free: 1.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.4621, allocations: 9.875 kB / 0.5224 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.4622, allocations: 9.281 kB / 0.5224 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.4625, allocations: 213.9 kB / 0.5226 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.4625, allocations: 1.562 kB / 0.5226 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.4625, allocations: 5.891 kB / 0.5226 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4627, allocations: 45.86 kB / 0.5227 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4627, allocations: 1.984 kB / 0.5227 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.4627, allocations: 0 / 0.5227 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.4627, allocations: 1.156 kB / 0.5227 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.418e-05/0.4628, allocations: 15.08 kB / 0.5227 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.4631, allocations: 187 kB / 0.5229 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.4633, allocations: 60.02 kB / 0.5229 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.4634, allocations: 28.61 kB / 0.523 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.4634, allocations: 0 / 0.523 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.4636, allocations: 64.78 kB / 0.523 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.4636, allocations: 4 kB / 0.523 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003235/0.4639, allocations: 96.95 kB / 0.5231 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.464, allocations: 52.25 kB / 0.5232 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.4642, allocations: 189.7 kB / 0.5234 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.4642, allocations: 26.95 kB / 0.5234 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.4643, allocations: 98.91 kB / 0.5235 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.4643, allocations: 20.59 kB / 0.5235 GB, free: 500 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.4644, allocations: 19.66 kB / 0.5235 GB, free: 480 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.4645, allocations: 325 kB / 0.5238 GB, free: 152 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.4646, allocations: 18.03 kB / 0.5238 GB, free: 144 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.4646, allocations: 30.67 kB / 0.5239 GB, free: 120 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.4648, allocations: 41.86 kB / 0.5239 GB, free: 92 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4648, allocations: 1.062 kB / 0.5239 GB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001632/0.4649, allocations: 92.38 kB / 0.524 GB, free: 28 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.465, allocations: 4.469 kB / 0.524 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.465, allocations: 1.156 kB / 0.524 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.465, allocations: 1.719 kB / 0.524 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.4651, allocations: 14.52 kB / 0.524 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.4651, allocations: 1.766 kB / 0.524 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.4651, allocations: 2.625 kB / 0.524 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.4652, allocations: 2.156 kB / 0.524 GB, free: 24 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.0001377/0.4653, allocations: 124.7 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.4653, allocations: 12.95 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.4654, allocations: 14.59 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4654, allocations: 1.688 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4654, allocations: 0 / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4654, allocations: 0.6562 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.4657, allocations: 186.1 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4657, allocations: 4 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.4657, allocations: 4.5 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4657, allocations: 0 / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4657, allocations: 5.797 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4657, allocations: 6.125 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4657, allocations: 0 / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.4659, allocations: 116.3 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.466, allocations: 84.95 kB / 0.5246 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.466, allocations: 0.6094 kB / 0.5246 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.4661, allocations: 4.297 kB / 0.5246 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.4661, allocations: 6.344 kB / 0.5246 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.4661, allocations: 3.797 kB / 0.5246 GB, free: 15.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.4663, allocations: 143.4 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4663, allocations: 0 / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.4665, allocations: 13.11 kB / 0.5247 GB, free: 15.38 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.001002/0.4675, allocations: 420.3 kB / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.4677, allocations: 42.02 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4677, allocations: 0 / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.594e-05/0.4678, allocations: 22.56 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.0002822/0.4681, allocations: 36.48 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.0004858/0.4686, allocations: 195.7 kB / 0.5254 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.4689, allocations: 0.7012 MB / 0.5261 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.652e-05/0.469, allocations: 14.91 kB / 0.5261 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.4691, allocations: 18.27 kB / 0.5261 GB, free: 14.28 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4691, allocations: 5.281 kB / 0.5261 GB, free: 14.28 MB / 398.1 MB Notification: Performance of Templates: time 0.005153/0.4742, allocations: 1.51 MB / 0.5276 GB, free: 13.83 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