Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001271/0.001271, allocations: 85.33 kB / 20.68 MB, free: 1.023 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.001422/0.001422, allocations: 163.1 kB / 23.96 MB, free: 4.145 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.383/1.383, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.1978/0.1978, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.837e-05, allocations: 2.281 kB / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003228/0.003256, allocations: 1.715 MB / 441.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.005215, allocations: 0.9664 MB / 442.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.005287, allocations: 0 / 442.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.00559, allocations: 35.77 kB / 442.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.005919, allocations: 103.5 kB / 443 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.006135, allocations: 87.53 kB / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.006409, allocations: 103.7 kB / 443.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.976e-05/0.006499, allocations: 7.938 kB / 443.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.00661, allocations: 55.83 kB / 443.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.006687, allocations: 27.91 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.006706, allocations: 4 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-05/0.0068, allocations: 39.98 kB / 443.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.006861, allocations: 27.84 kB / 443.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.006905, allocations: 15.94 kB / 443.4 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.007113, allocations: 115.6 kB / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.007116, allocations: 3.938 kB / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007117, allocations: 0 / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.007121, allocations: 0 / 443.5 MB, free: 4.754 MB / 366.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.0005392/0.00766, allocations: 341.6 kB / 443.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.007698, allocations: 12.03 kB / 443.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.007744, allocations: 12.83 kB / 443.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.007972, allocations: 154.8 kB / 444 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.007989, allocations: 8.359 kB / 444 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.00801, allocations: 4.375 kB / 444 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.008159, allocations: 58.23 kB / 444.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.008172, allocations: 3.938 kB / 444.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.008181, allocations: 0 / 444.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.008185, allocations: 0 / 444.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.957e-05/0.008265, allocations: 19.98 kB / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.008613, allocations: 236.5 kB / 444.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.008794, allocations: 54.67 kB / 444.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.396e-05/0.008858, allocations: 20.8 kB / 444.4 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.008873, allocations: 4 kB / 444.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.009041, allocations: 71.38 kB / 444.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.009042, allocations: 0 / 444.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00062/0.009662, allocations: 193.3 kB / 444.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.009714, allocations: 51.41 kB / 444.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.009914, allocations: 187.3 kB / 444.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.009939, allocations: 33.7 kB / 444.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.01001, allocations: 96.14 kB / 445 MB, free: 3.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.01005, allocations: 31.72 kB / 445 MB, free: 3.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.01009, allocations: 21.72 kB / 445.1 MB, free: 3.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.01026, allocations: 326.8 kB / 445.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.01032, allocations: 19.98 kB / 445.4 MB, free: 2.664 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.178e-05/0.0104, allocations: 41.7 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.01053, allocations: 65.7 kB / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.01054, allocations: 0 / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002943/0.01083, allocations: 113.5 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.01085, allocations: 4 kB / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01085, allocations: 0 / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.01087, allocations: 4.031 kB / 445.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.01098, allocations: 16.19 kB / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.01098, allocations: 7.922 kB / 445.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.01103, allocations: 3.938 kB / 445.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.01104, allocations: 8 kB / 445.7 MB, free: 2.387 MB / 366.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.0001126/0.01115, allocations: 125.7 kB / 445.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.01117, allocations: 11.95 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.01145, allocations: 123 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01145, allocations: 0 / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.01145, allocations: 0 / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.01146, allocations: 4 kB / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.01191, allocations: 342.9 kB / 446.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.01191, allocations: 4 kB / 446.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.01196, allocations: 12.36 kB / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01196, allocations: 0 / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.01197, allocations: 4 kB / 446.3 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.01197, allocations: 8 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01197, allocations: 0 / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.01224, allocations: 216.2 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.01226, allocations: 15.94 kB / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01229, allocations: 0 / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.01236, allocations: 8 kB / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.0124, allocations: 7.969 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.01242, allocations: 4 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002417/0.01266, allocations: 147.9 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01266, allocations: 0 / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.01292, allocations: 27.88 kB / 446.7 MB, free: 1.27 MB / 366.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 (9): * Single equations (assignments): 7 * 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.001765/0.01468, allocations: 497.1 kB / 447.2 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.01488, allocations: 59.89 kB / 447.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01488, allocations: 0 / 447.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.01495, allocations: 31.98 kB / 447.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.01531, allocations: 41.17 kB / 447.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.01583, allocations: 222.4 kB / 447.5 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.655e-05/0.01592, allocations: 88.31 kB / 447.6 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.869e-05/0.01597, allocations: 16.97 kB / 447.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.01601, allocations: 12.5 kB / 447.6 MB, free: 492 kB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01601, allocations: 4 kB / 447.6 MB, free: 488 kB / 366.1 MB Notification: Performance of Templates: time 0.1662/0.1822, allocations: 1.85 MB / 449.5 MB, free: 21.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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: 4.519200913608074]