Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.00136/0.00136, allocations: 80.8 kB / 21.49 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.001929/0.001929, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2698/0.2698, allocations: 32.81 MB / 294.6 MB, free: 1.176 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 323.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.524e-05, allocations: 3.188 kB / 323.4 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002583/0.002608, allocations: 1.799 MB / 325.2 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003799, allocations: 1.009 MB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.003864, allocations: 0 / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.004162, allocations: 91.56 kB / 326.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.0044, allocations: 107.5 kB / 326.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.004532, allocations: 83.59 kB / 326.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.004677, allocations: 119.5 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.004e-05/0.004757, allocations: 12.73 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.004876, allocations: 63.83 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.00499, allocations: 51.81 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.005007, allocations: 4 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-05/0.005092, allocations: 43.92 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.398e-05/0.005136, allocations: 31.91 kB / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.005167, allocations: 19.92 kB / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.005328, allocations: 103.6 kB / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00533, allocations: 0 / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005331, allocations: 0 / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.005335, allocations: 0 / 326.9 MB, free: 6.008 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003629/0.005698, allocations: 333.3 kB / 327.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.005727, allocations: 8.031 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.005757, allocations: 16.92 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.005934, allocations: 149.5 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.005948, allocations: 384 / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.005964, allocations: 8.375 kB / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.947e-05/0.006063, allocations: 57.77 kB / 327.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.006072, allocations: 3.938 kB / 327.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.006079, allocations: 7.984 kB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.006083, allocations: 0 / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.006106, allocations: 19.88 kB / 327.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.006303, allocations: 173.9 kB / 327.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.006384, allocations: 81.3 kB / 327.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.006404, allocations: 12.92 kB / 327.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.006414, allocations: 0 / 327.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.075e-05/0.006495, allocations: 66.14 kB / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.006496, allocations: 0 / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002643/0.00676, allocations: 113.5 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.006788, allocations: 59.34 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.0069, allocations: 193.1 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.006914, allocations: 25.7 kB / 328.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.007019, allocations: 92.11 kB / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.007046, allocations: 31.77 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.007074, allocations: 21.72 kB / 328.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.972e-05/0.007153, allocations: 330.8 kB / 328.7 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.007169, allocations: 10.83 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.007194, allocations: 25.69 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.202e-05/0.007236, allocations: 44.47 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007237, allocations: 384 / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.205e-05/0.007309, allocations: 72.42 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.007322, allocations: 7.984 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.007326, allocations: 0 / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.007337, allocations: 4 kB / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.0074, allocations: 23.94 kB / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.007402, allocations: 0 / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.007428, allocations: 4 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.007435, allocations: 3.984 kB / 328.8 MB, free: 3.859 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 (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 5.806e-05/0.007493, allocations: 120.7 kB / 329 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.007507, allocations: 15.92 kB / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.6e-05/0.007603, allocations: 75.08 kB / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007605, allocations: 0 / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.007606, allocations: 0 / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.007609, allocations: 0 / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.007813, allocations: 299.4 kB / 329.3 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007815, allocations: 0 / 329.3 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.007839, allocations: 12 kB / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.007841, allocations: 3.938 kB / 329.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.007848, allocations: 12.02 kB / 329.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.007851, allocations: 4 kB / 329.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007852, allocations: 0 / 329.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.714e-05/0.007949, allocations: 215 kB / 329.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.00796, allocations: 7.953 kB / 329.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.007976, allocations: 8 kB / 329.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.008015, allocations: 0 / 329.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.008046, allocations: 7.984 kB / 329.6 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.008056, allocations: 0 / 329.6 MB, free: 3.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.724e-05/0.008103, allocations: 65.55 kB / 329.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008103, allocations: 4 kB / 329.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001459/0.008249, allocations: 27.92 kB / 329.7 MB, free: 2.93 MB / 298.7 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.001463/0.009712, allocations: 0.5892 MB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.009816, allocations: 40.78 kB / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.009819, allocations: 0 / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.009859, allocations: 24.84 kB / 330.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.01005, allocations: 31.88 kB / 330.4 MB, free: 2.547 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.01035, allocations: 234.3 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.002e-05/0.01039, allocations: 71.34 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.638e-05/0.01043, allocations: 21.39 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.0105, allocations: 67.36 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.0105, allocations: 0 / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of Templates: time 0.003697/0.01419, allocations: 2.019 MB / 332.8 MB, free: 128 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.0301845399662852]