Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.0009668/0.0009668, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001156/0.001156, allocations: 174.3 kB / 24.92 MB, free: 8.766 MB / 18.57 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] 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.2623/0.2623, allocations: 32.8 MB / 294.6 MB, free: 1.184 MB / 266.7 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 323.4 MB, free: 9.578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.757e-05, allocations: 4.703 kB / 323.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002613/0.00263, allocations: 1.748 MB / 325.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.003885, allocations: 0.9935 MB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.883e-05/0.003964, allocations: 0 / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.004348, allocations: 55.69 kB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.00465, allocations: 103.5 kB / 326.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.004825, allocations: 79.59 kB / 326.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.004978, allocations: 99.64 kB / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.005023, allocations: 8.844 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.005124, allocations: 51.83 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.005192, allocations: 23.92 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.005206, allocations: 4 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.305e-05/0.005269, allocations: 27.98 kB / 326.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.005325, allocations: 35.84 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.005355, allocations: 19.94 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.005512, allocations: 107.5 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.005514, allocations: 0 / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005515, allocations: 0 / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.005519, allocations: 0 / 326.7 MB, free: 6.207 MB / 298.7 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.0003765/0.005895, allocations: 341.2 kB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.005929, allocations: 8.031 kB / 327 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.005957, allocations: 4.938 kB / 327 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.006129, allocations: 166.4 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.006145, allocations: 384 / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.006156, allocations: 8.375 kB / 327.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.006277, allocations: 57.77 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.006286, allocations: 3.938 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.006295, allocations: 7.938 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.0063, allocations: 0 / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/0.006326, allocations: 7.938 kB / 327.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.488e-05/0.006421, allocations: 78.69 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.006501, allocations: 37.42 kB / 327.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.836e-05/0.006519, allocations: 12.86 kB / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.006532, allocations: 8 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.26e-05/0.006615, allocations: 54.22 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.006616, allocations: 0 / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001088/0.006725, allocations: 65.61 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.006752, allocations: 55.34 kB / 327.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.006873, allocations: 217 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.006886, allocations: 25.7 kB / 327.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.006917, allocations: 100.1 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.006947, allocations: 11.91 kB / 327.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.006973, allocations: 17.72 kB / 328 MB, free: 4.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.864e-05/0.007052, allocations: 334.8 kB / 328.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.007065, allocations: 6.828 kB / 328.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.007087, allocations: 25.69 kB / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.022e-05/0.007127, allocations: 35.3 kB / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007129, allocations: 0 / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.526e-05/0.007194, allocations: 64.44 kB / 328.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.007209, allocations: 10.19 kB / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.007213, allocations: 0 / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.007224, allocations: 0 / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.007284, allocations: 19.95 kB / 328.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.007288, allocations: 4 kB / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.007313, allocations: 0 / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.007319, allocations: 4 kB / 328.5 MB, free: 4.27 MB / 298.7 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 6.592e-05/0.007385, allocations: 112.7 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.007397, allocations: 11.98 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.929e-05/0.007486, allocations: 75.02 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.007488, allocations: 0 / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.007491, allocations: 8 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.007495, allocations: 0 / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.708e-05/0.007572, allocations: 93.84 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007573, allocations: 3.938 kB / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.609e-05/0.007589, allocations: 4 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.00759, allocations: 0 / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.007595, allocations: 4 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007596, allocations: 0 / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.007598, allocations: 3.984 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.258e-05/0.007671, allocations: 98.62 kB / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.007687, allocations: 19.89 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.007702, allocations: 0 / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.778e-05/0.00772, allocations: 0 / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.007745, allocations: 8 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.007755, allocations: 3.984 kB / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.524e-05/0.007811, allocations: 76.95 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007811, allocations: 0 / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001166/0.007927, allocations: 16 kB / 329 MB, free: 3.684 MB / 298.7 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.001092/0.009019, allocations: 0.5045 MB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.051e-05/0.00909, allocations: 24.8 kB / 329.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.009093, allocations: 4.062 kB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.188e-05/0.009125, allocations: 28.83 kB / 329.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.009255, allocations: 27.27 kB / 329.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.009571, allocations: 235.9 kB / 329.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.009611, allocations: 75.33 kB / 329.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.949e-05/0.009641, allocations: 16.73 kB / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.009699, allocations: 63.36 kB / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0097, allocations: 0 / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of Templates: time 0.003258/0.01296, allocations: 1.795 MB / 331.8 MB, free: 1.156 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0899081178940833]