Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001162/0.001162, 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.001475/0.001475, allocations: 172.7 kB / 24.91 MB, free: 9.195 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 0.927/0.927, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2315/0.2315, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.387e-05, allocations: 4.422 kB / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.005609/0.005632, allocations: 1.753 MB / 325.1 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.006723, allocations: 1.005 MB / 326.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.006786, allocations: 3.938 kB / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.007021, allocations: 43.77 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.007254, allocations: 111.5 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.007408, allocations: 75.61 kB / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.007537, allocations: 111.6 kB / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.643e-05/0.007603, allocations: 4.75 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.007679, allocations: 55.81 kB / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.00774, allocations: 23.92 kB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.007753, allocations: 4 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.867e-05/0.007822, allocations: 47.91 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.007865, allocations: 31.86 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.007893, allocations: 23.92 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.008035, allocations: 107.5 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.008037, allocations: 0 / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.008038, allocations: 0 / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.008041, allocations: 0 / 326.7 MB, free: 6.215 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.0003367/0.008378, allocations: 333.2 kB / 327 MB, free: 5.867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.008406, allocations: 12.03 kB / 327 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.008431, allocations: 8.922 kB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.008564, allocations: 150.4 kB / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.008578, allocations: 12.31 kB / 327.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.008593, allocations: 4.375 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.978e-05/0.008683, allocations: 65.77 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.008692, allocations: 3.938 kB / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.008698, allocations: 0 / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.008703, allocations: 3.984 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.179e-05/0.008725, allocations: 8 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.008907, allocations: 169.9 kB / 327.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.522e-05/0.008992, allocations: 93.2 kB / 327.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.009012, allocations: 16.92 kB / 327.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.009022, allocations: 4 kB / 327.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.55e-05/0.009097, allocations: 62.16 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.009098, allocations: 0 / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002689/0.009367, allocations: 113.5 kB / 327.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.009395, allocations: 51.41 kB / 327.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.009502, allocations: 197.6 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.009514, allocations: 29.7 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.009545, allocations: 100 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.00957, allocations: 31.77 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.009598, allocations: 21.72 kB / 328.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.009673, allocations: 330.8 kB / 328.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.009691, allocations: 14.81 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.009713, allocations: 25.64 kB / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.279e-05/0.009756, allocations: 48.58 kB / 328.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.009757, allocations: 0 / 328.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.13e-05/0.009828, allocations: 72.38 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.009839, allocations: 4 kB / 328.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.009842, allocations: 0 / 328.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.009853, allocations: 4 kB / 328.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.00991, allocations: 20.03 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.009914, allocations: 3.984 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.009939, allocations: 384 / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.009945, allocations: 4 kB / 328.7 MB, free: 4.055 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 6.551e-05/0.01001, allocations: 125.3 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.01002, allocations: 11.92 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.708e-05/0.01012, allocations: 79.08 kB / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01012, allocations: 0 / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01012, allocations: 7.984 kB / 328.9 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01013, allocations: 0 / 328.9 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.01034, allocations: 295.4 kB / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01034, allocations: 0 / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.01037, allocations: 12 kB / 329.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01038, allocations: 4 kB / 329.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.01038, allocations: 3.984 kB / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01038, allocations: 0 / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01039, allocations: 4 kB / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.902e-05/0.01049, allocations: 211 kB / 329.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.0105, allocations: 11.91 kB / 329.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.01052, allocations: 12.02 kB / 329.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.105e-05/0.01056, allocations: 4 kB / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.01058, allocations: 7.984 kB / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.01059, allocations: 0 / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.758e-05/0.01064, allocations: 64.22 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01064, allocations: 3.938 kB / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001485/0.01078, allocations: 27.94 kB / 329.6 MB, free: 3.117 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.001204/0.01199, allocations: 0.5732 MB / 330.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.94e-05/0.01207, allocations: 40.78 kB / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01207, allocations: 0 / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.061e-05/0.0121, allocations: 28.8 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.01227, allocations: 35.84 kB / 330.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.01257, allocations: 250.6 kB / 330.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.886e-05/0.01261, allocations: 71.33 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.378e-05/0.01264, allocations: 12.97 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.0127, allocations: 67.36 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0127, allocations: 0 / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of Templates: time 0.003552/0.01625, allocations: 2.031 MB / 332.7 MB, free: 304 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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: 2.937807295937091]