Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 76.17 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4529, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003346/0.4563, allocations: 1.692 MB / 0.5327 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.4585, allocations: 1 MB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.4586, allocations: 0 / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.459, allocations: 51.02 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.4594, allocations: 97.84 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.4597, allocations: 78.91 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.4599, allocations: 94.2 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.46, allocations: 13.72 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.4601, allocations: 42.91 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.4603, allocations: 25.48 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.4603, allocations: 4.125 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.4604, allocations: 36.55 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.036e-05/0.4605, allocations: 34.84 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.348e-05/0.4606, allocations: 43.91 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.4608, allocations: 123.4 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4608, allocations: 1.375 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4609, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.4609, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.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.0007269/0.4616, allocations: 432.3 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4617, allocations: 9.625 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.4617, allocations: 10.34 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.4621, allocations: 228.2 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.4621, allocations: 2.469 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.4622, allocations: 4.125 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.4623, allocations: 47.3 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4623, allocations: 1.375 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.4624, allocations: 8 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4624, allocations: 1.25 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.4625, allocations: 11.42 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.4628, allocations: 199.9 kB / 0.5352 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.4629, allocations: 58.75 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.714e-05/0.463, allocations: 25.75 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.463, allocations: 4 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.4632, allocations: 61.27 kB / 0.5354 GB, free: 9.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.4632, allocations: 0 / 0.5354 GB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000339/0.4636, allocations: 100.6 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.4636, allocations: 52.41 kB / 0.5355 GB, free: 9.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.464, allocations: 274.6 kB / 0.5358 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.464, allocations: 34.77 kB / 0.5358 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.4641, allocations: 111.9 kB / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.4641, allocations: 10.31 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.4642, allocations: 19 kB / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4643, allocations: 331.3 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.104e-05/0.4644, allocations: 12.09 kB / 0.5363 GB, free: 9.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.213e-05/0.4645, allocations: 27.42 kB / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.4646, allocations: 51.77 kB / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4646, allocations: 0 / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001735/0.4648, allocations: 88.81 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4648, allocations: 5.688 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4648, allocations: 0 / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4648, allocations: 1.125 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.4649, allocations: 17.22 kB / 0.5365 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4649, allocations: 1.094 kB / 0.5365 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/0.465, allocations: 14.2 kB / 0.5365 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.465, allocations: 2.312 kB / 0.5365 GB, free: 9.039 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 (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.0001379/0.4652, allocations: 139 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.4652, allocations: 10.56 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.4653, allocations: 20.08 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4653, allocations: 1.094 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4653, allocations: 0 / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4653, allocations: 1.125 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.4655, allocations: 203.3 kB / 0.5368 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4655, allocations: 4 kB / 0.5368 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.4656, allocations: 2.75 kB / 0.5368 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.4656, allocations: 1.094 kB / 0.5368 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.4656, allocations: 9.281 kB / 0.5368 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4656, allocations: 0 / 0.5368 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4656, allocations: 3.984 kB / 0.5369 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.4658, allocations: 115.7 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.4659, allocations: 88.11 kB / 0.537 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.4659, allocations: 13.3 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.44e-05/0.4659, allocations: 1.219 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.466, allocations: 6.531 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.466, allocations: 2.594 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.4662, allocations: 202.8 kB / 0.5373 GB, free: 8.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4662, allocations: 0 / 0.5373 GB, free: 8.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.4665, allocations: 21.09 kB / 0.5373 GB, free: 8.301 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.0009406/0.4674, allocations: 399 kB / 0.5377 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.4676, allocations: 44.73 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4676, allocations: 0 / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.28e-05/0.4677, allocations: 19.92 kB / 0.5377 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.468, allocations: 31.23 kB / 0.5378 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.4685, allocations: 262.3 kB / 0.538 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.4689, allocations: 0.723 MB / 0.5387 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.116e-05/0.4689, allocations: 20.44 kB / 0.5387 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.469, allocations: 17.88 kB / 0.5387 GB, free: 7.113 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.469, allocations: 0 / 0.5387 GB, free: 7.113 MB / 398.1 MB Notification: Performance of Templates: time 0.004526/0.4735, allocations: 1.538 MB / 0.5402 GB, free: 6.336 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches