Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001406/0.001406, allocations: 118.2 kB / 17.79 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.001644/0.001644, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2767/0.2767, allocations: 46.12 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 83.88 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5585/0.5599, allocations: 62.42 MB / 0.5311 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003973/0.564, allocations: 1.735 MB / 0.5328 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.5659, allocations: 1.022 MB / 0.5338 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.566, allocations: 5.375 kB / 0.5338 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.5664, allocations: 42.77 kB / 0.5338 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.5668, allocations: 87.11 kB / 0.5339 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.5671, allocations: 82.91 kB / 0.534 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.5673, allocations: 102.3 kB / 0.5341 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.5675, allocations: 18.8 kB / 0.5341 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.5676, allocations: 44.28 kB / 0.5341 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.5677, allocations: 33.42 kB / 0.5342 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.5677, allocations: 4.125 kB / 0.5342 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.5678, allocations: 43.47 kB / 0.5342 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.5679, allocations: 18.8 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.095e-05/0.568, allocations: 36 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.5683, allocations: 117.9 kB / 0.5344 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5683, allocations: 5.062 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5683, allocations: 0 / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.5683, allocations: 0 / 0.5344 GB, free: 10.91 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.0007551/0.5691, allocations: 423.4 kB / 0.5348 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.5692, allocations: 9.125 kB / 0.5348 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.5692, allocations: 9.844 kB / 0.5348 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.5696, allocations: 212.8 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.5696, allocations: 1.812 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.5697, allocations: 10.73 kB / 0.535 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.5699, allocations: 53.42 kB / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.5699, allocations: 13.11 kB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.5699, allocations: 0 / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.57, allocations: 5.312 kB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-05/0.5701, allocations: 18.67 kB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006865/0.5708, allocations: 287.3 kB / 0.5354 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.571, allocations: 53.16 kB / 0.5354 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.571, allocations: 25.09 kB / 0.5354 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.5711, allocations: 5.375 kB / 0.5355 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.5713, allocations: 68.8 kB / 0.5355 GB, free: 9.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.5713, allocations: 1.031 kB / 0.5355 GB, free: 9.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00074/0.572, allocations: 173.7 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.5721, allocations: 56.44 kB / 0.5357 GB, free: 9.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.5724, allocations: 197 kB / 0.5359 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.5724, allocations: 30.92 kB / 0.536 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.559e-05/0.5725, allocations: 104.6 kB / 0.5361 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.5725, allocations: 28.17 kB / 0.5361 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.5726, allocations: 19.53 kB / 0.5361 GB, free: 9.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5728, allocations: 327.3 kB / 0.5364 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.5728, allocations: 22.14 kB / 0.5364 GB, free: 8.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-05/0.5729, allocations: 35.89 kB / 0.5365 GB, free: 8.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.5731, allocations: 63.47 kB / 0.5365 GB, free: 8.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5731, allocations: 0 / 0.5365 GB, free: 8.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002088/0.5733, allocations: 108 kB / 0.5366 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.5733, allocations: 4.375 kB / 0.5366 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5733, allocations: 5.156 kB / 0.5366 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.5734, allocations: 1.531 kB / 0.5366 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.5735, allocations: 17.11 kB / 0.5367 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5735, allocations: 0 / 0.5367 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.5736, allocations: 14.69 kB / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.5736, allocations: 2.75 kB / 0.5367 GB, free: 8.746 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.0001267/0.5737, allocations: 122.8 kB / 0.5368 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.5737, allocations: 9.375 kB / 0.5368 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.5738, allocations: 18.22 kB / 0.5368 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5738, allocations: 1.062 kB / 0.5368 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5738, allocations: 1.219 kB / 0.5368 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5738, allocations: 3.938 kB / 0.5368 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.5743, allocations: 398.2 kB / 0.5372 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5743, allocations: 1.344 kB / 0.5372 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.5744, allocations: 11.84 kB / 0.5372 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5744, allocations: 0 / 0.5372 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.5744, allocations: 6.656 kB / 0.5372 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5744, allocations: 384 / 0.5372 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5744, allocations: 1.438 kB / 0.5372 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.5748, allocations: 208.8 kB / 0.5374 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.5748, allocations: 87.55 kB / 0.5375 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.5749, allocations: 9.438 kB / 0.5375 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.5749, allocations: 2.438 kB / 0.5375 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.575, allocations: 11.42 kB / 0.5375 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.575, allocations: 7.156 kB / 0.5375 GB, free: 7.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.5752, allocations: 153.1 kB / 0.5377 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5752, allocations: 0 / 0.5377 GB, free: 7.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.5755, allocations: 28.69 kB / 0.5377 GB, free: 7.781 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.001203/0.5767, allocations: 455 kB / 0.5381 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.5769, allocations: 63.34 kB / 0.5382 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5769, allocations: 3.938 kB / 0.5382 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.525e-05/0.577, allocations: 29.05 kB / 0.5382 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.5774, allocations: 35.39 kB / 0.5383 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006353/0.5781, allocations: 235.6 kB / 0.5385 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.5785, allocations: 0.7061 MB / 0.5392 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.5786, allocations: 17.58 kB / 0.5392 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.5786, allocations: 19.94 kB / 0.5392 GB, free: 6.57 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.5787, allocations: 0 / 0.5392 GB, free: 6.57 MB / 398.1 MB Notification: Performance of Templates: time 0.00557/0.5842, allocations: 1.735 MB / 0.5409 GB, free: 5.695 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches