Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002418/0.002418, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2427/0.2427, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 71.89 kB / 0.4936 GB, free: 9.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3822, allocations: 65.47 MB / 0.5575 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00318/0.3854, allocations: 1.663 MB / 0.5591 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3871, allocations: 0.952 MB / 0.5601 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.092e-05/0.3871, allocations: 3.938 kB / 0.5601 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.3874, allocations: 51.75 kB / 0.5601 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.3878, allocations: 107.5 kB / 0.5602 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.3879, allocations: 71.75 kB / 0.5603 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.3881, allocations: 107.7 kB / 0.5604 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.3882, allocations: 4.234 kB / 0.5604 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.836e-05/0.3883, allocations: 51.77 kB / 0.5604 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3884, allocations: 39.78 kB / 0.5605 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3884, allocations: 4 kB / 0.5605 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.438e-05/0.3885, allocations: 27.98 kB / 0.5605 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.3885, allocations: 23.91 kB / 0.5605 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.3886, allocations: 23.81 kB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.3888, allocations: 110 kB / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3888, allocations: 0 / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3888, allocations: 4 kB / 0.5607 GB, free: 4.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3888, allocations: 0 / 0.5607 GB, free: 4.176 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.0005309/0.3893, allocations: 333.6 kB / 0.561 GB, free: 3.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3894, allocations: 12.03 kB / 0.561 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.3894, allocations: 8.891 kB / 0.561 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.3897, allocations: 142.3 kB / 0.5611 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3897, allocations: 4.375 kB / 0.5611 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3897, allocations: 4.125 kB / 0.5612 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3898, allocations: 57.61 kB / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3898, allocations: 0 / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3899, allocations: 4 kB / 0.5612 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3899, allocations: 3.984 kB / 0.5612 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.815e-05/0.3899, allocations: 15.98 kB / 0.5612 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.3901, allocations: 129.3 kB / 0.5614 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.3903, allocations: 54.61 kB / 0.5614 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.3903, allocations: 20.84 kB / 0.5614 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.3903, allocations: 3.938 kB / 0.5614 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.3905, allocations: 75.33 kB / 0.5615 GB, free: 3.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3905, allocations: 4 kB / 0.5615 GB, free: 3.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002947/0.3908, allocations: 97.61 kB / 0.5616 GB, free: 3.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.3908, allocations: 51.41 kB / 0.5616 GB, free: 3.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.391, allocations: 183.2 kB / 0.5618 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.391, allocations: 25.7 kB / 0.5618 GB, free: 2.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.3911, allocations: 112.1 kB / 0.562 GB, free: 2.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.3911, allocations: 11.83 kB / 0.562 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3912, allocations: 25.7 kB / 0.562 GB, free: 2.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3913, allocations: 318.8 kB / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.3914, allocations: 12 kB / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.784e-05/0.3914, allocations: 37.7 kB / 0.5623 GB, free: 2.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.3915, allocations: 45.7 kB / 0.5624 GB, free: 2.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3915, allocations: 0 / 0.5624 GB, free: 2.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001642/0.3917, allocations: 93.45 kB / 0.5625 GB, free: 2.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3917, allocations: 4 kB / 0.5625 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3917, allocations: 3.938 kB / 0.5625 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3917, allocations: 4 kB / 0.5625 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/0.3918, allocations: 8 kB / 0.5625 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3918, allocations: 4.031 kB / 0.5625 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.3918, allocations: 8 kB / 0.5625 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3919, allocations: 3.984 kB / 0.5625 GB, free: 2.105 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.0001032/0.392, allocations: 124.3 kB / 0.5626 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.392, allocations: 11.89 kB / 0.5626 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.3922, allocations: 102.7 kB / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3922, allocations: 384 / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3922, allocations: 0 / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3922, allocations: 4 kB / 0.5627 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.3923, allocations: 125.3 kB / 0.5629 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3923, allocations: 8 kB / 0.5629 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.3924, allocations: 4 kB / 0.5629 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3924, allocations: 3.938 kB / 0.5629 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3924, allocations: 3.984 kB / 0.5629 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3924, allocations: 4.094 kB / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3924, allocations: 0 / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.3926, allocations: 117.1 kB / 0.563 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.3926, allocations: 19.78 kB / 0.563 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3926, allocations: 0 / 0.563 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.85e-05/0.3927, allocations: 0 / 0.563 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.3927, allocations: 11.98 kB / 0.563 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3927, allocations: 4 kB / 0.563 GB, free: 1.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.3928, allocations: 146 kB / 0.5632 GB, free: 1.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3928, allocations: 0 / 0.5632 GB, free: 1.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002109/0.393, allocations: 12 kB / 0.5632 GB, free: 1.348 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001598/0.3946, allocations: 452.8 kB / 0.5636 GB, free: 1.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.3948, allocations: 39.92 kB / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3948, allocations: 0 / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/0.3949, allocations: 28.05 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.3951, allocations: 32.59 kB / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.3955, allocations: 205.8 kB / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.79e-05/0.3956, allocations: 89.25 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.211e-05/0.3957, allocations: 8.5 kB / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.3957, allocations: 23.42 kB / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3957, allocations: 4 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of Templates: time 0.004661/0.4004, allocations: 1.666 MB / 0.5656 GB, free: 14.97 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.370707146823406]