Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001539/0.001539, 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.0018/0.001801, 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.563/1.563, 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.2602/0.2602, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 76.2 kB / 481.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4653, allocations: 62.44 MB / 0.5311 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003164/0.4685, allocations: 1.731 MB / 0.5328 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.4703, allocations: 1.021 MB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.289e-05/0.4704, allocations: 1.375 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.4707, allocations: 42.77 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.471, allocations: 91.09 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.4712, allocations: 82.92 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.4714, allocations: 102.3 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.4715, allocations: 14.86 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.632e-05/0.4716, allocations: 44.23 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.762e-05/0.4717, allocations: 37.39 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.4718, allocations: 4.125 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.4719, allocations: 39.48 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.4719, allocations: 14.81 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.472, allocations: 43.98 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.4722, allocations: 118.1 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4722, allocations: 5.312 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.4722, allocations: 0 / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.4722, allocations: 3.938 kB / 0.5344 GB, free: 11.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005516/0.4728, allocations: 419 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4728, allocations: 9.625 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.4729, allocations: 8.969 kB / 0.5348 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.4732, allocations: 217.3 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.4732, allocations: 1.75 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.4732, allocations: 6.875 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.4734, allocations: 54.05 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4734, allocations: 3.906 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.4734, allocations: 1.375 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4734, allocations: 3.938 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.352e-05/0.4735, allocations: 18.98 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.4739, allocations: 294.8 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.4741, allocations: 57.7 kB / 0.5354 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.4741, allocations: 25.53 kB / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.4742, allocations: 5.047 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.4743, allocations: 69.33 kB / 0.5355 GB, free: 9.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.4743, allocations: 0 / 0.5355 GB, free: 9.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005302/0.4749, allocations: 170.5 kB / 0.5357 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4749, allocations: 56.53 kB / 0.5357 GB, free: 9.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.4751, allocations: 192.2 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.4751, allocations: 30.86 kB / 0.536 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.4752, allocations: 101.4 kB / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.4753, allocations: 23.97 kB / 0.5361 GB, free: 9.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.4753, allocations: 27.95 kB / 0.5361 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4754, allocations: 326.4 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.644e-05/0.4755, allocations: 18.94 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.4756, allocations: 35.17 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.4757, allocations: 62.89 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4757, allocations: 1.062 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002111/0.4759, allocations: 111.6 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4759, allocations: 4.438 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4759, allocations: 1.594 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.476, allocations: 5.094 kB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.4761, allocations: 12.59 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.4761, allocations: 5.125 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.4761, allocations: 18.2 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.4761, allocations: 3.375 kB / 0.5367 GB, free: 8.848 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 9.96e-05/0.4762, allocations: 124.7 kB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.4763, allocations: 9.844 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.4763, allocations: 22.42 kB / 0.5368 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4763, allocations: 1.062 kB / 0.5368 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4763, allocations: 3.938 kB / 0.5368 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4763, allocations: 3.938 kB / 0.5368 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.4768, allocations: 395.2 kB / 0.5372 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4768, allocations: 3.984 kB / 0.5372 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.4769, allocations: 16.34 kB / 0.5372 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4769, allocations: 1.156 kB / 0.5372 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4769, allocations: 5 kB / 0.5372 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4769, allocations: 1.219 kB / 0.5372 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4769, allocations: 1.219 kB / 0.5372 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.4771, allocations: 195.9 kB / 0.5374 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.4772, allocations: 92.22 kB / 0.5375 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.4772, allocations: 10.12 kB / 0.5375 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.4773, allocations: 1.125 kB / 0.5375 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.4773, allocations: 15.52 kB / 0.5375 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.4774, allocations: 3.25 kB / 0.5375 GB, free: 8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.4775, allocations: 152.8 kB / 0.5377 GB, free: 7.891 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4775, allocations: 0 / 0.5377 GB, free: 7.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.4778, allocations: 21.19 kB / 0.5377 GB, free: 7.887 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.001038/0.4788, allocations: 461.2 kB / 0.5382 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.479, allocations: 60.94 kB / 0.5382 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.479, allocations: 1.312 kB / 0.5382 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.4791, allocations: 25.23 kB / 0.5382 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.4794, allocations: 32.44 kB / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.4799, allocations: 234.7 kB / 0.5385 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.4802, allocations: 0.7056 MB / 0.5392 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.825e-05/0.4803, allocations: 30.91 kB / 0.5392 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.4803, allocations: 19 kB / 0.5392 GB, free: 6.668 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4803, allocations: 1.062 kB / 0.5392 GB, free: 6.668 MB / 398.1 MB Notification: Performance of Templates: time 0.00459/0.4849, allocations: 1.727 MB / 0.5409 GB, free: 5.797 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches