Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.0009582/0.0009582, 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.001098/0.001098, allocations: 169.1 kB / 24.91 MB, free: 9.184 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.9692/0.9692, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2724/0.2724, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.625e-05, allocations: 3.078 kB / 325.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002461/0.002477, allocations: 1.815 MB / 327.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.003869, allocations: 1.006 MB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.00394, allocations: 0 / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.004214, allocations: 55.69 kB / 328.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.004486, allocations: 103.5 kB / 328.4 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.004672, allocations: 75.61 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.004831, allocations: 107.7 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.601e-05/0.004917, allocations: 7.938 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.005017, allocations: 55.83 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.0051, allocations: 27.91 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.005115, allocations: 4 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.005194, allocations: 43.92 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.005247, allocations: 35.84 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.005284, allocations: 24.36 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.005453, allocations: 111.6 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.005455, allocations: 4 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005456, allocations: 0 / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.00546, allocations: 0 / 328.8 MB, free: 4.082 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.0003779/0.005838, allocations: 349.2 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.005872, allocations: 12.02 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.005905, allocations: 12.94 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.006063, allocations: 158.4 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.006079, allocations: 384 / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.0061, allocations: 8.375 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.006208, allocations: 57.77 kB / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.006218, allocations: 11.88 kB / 329.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.006228, allocations: 8 kB / 329.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.006233, allocations: 0 / 329.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.006256, allocations: 7.984 kB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.006463, allocations: 158 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.83e-05/0.006562, allocations: 93.33 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.006584, allocations: 16.84 kB / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.006597, allocations: 0 / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.799e-05/0.006695, allocations: 74.09 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.006696, allocations: 0 / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003138/0.00701, allocations: 117.8 kB / 329.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.007046, allocations: 51.41 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.007182, allocations: 212 kB / 330.2 MB, free: 2.625 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.007199, allocations: 33.69 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.007238, allocations: 96.11 kB / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.007269, allocations: 23.78 kB / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.007303, allocations: 25.7 kB / 330.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.007401, allocations: 326.8 kB / 330.7 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.007419, allocations: 14.83 kB / 330.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.61e-05/0.007445, allocations: 25.69 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.948e-05/0.007494, allocations: 48.52 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.007495, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.888e-05/0.007584, allocations: 72.38 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.007599, allocations: 8 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.007606, allocations: 3.938 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.007625, allocations: 0 / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.007701, allocations: 19.98 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.007707, allocations: 8.031 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.174e-05/0.007739, allocations: 4 kB / 330.9 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.007746, allocations: 0 / 330.9 MB, free: 1.883 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 7.126e-05/0.007817, allocations: 122.9 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.00783, allocations: 11.94 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.007938, allocations: 83.06 kB / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.00794, allocations: 0 / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.007941, allocations: 0 / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.007945, allocations: 0 / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.008166, allocations: 311.5 kB / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008168, allocations: 0 / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.008192, allocations: 8 kB / 331.4 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.008194, allocations: 0 / 331.4 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.008203, allocations: 11.94 kB / 331.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.008206, allocations: 3.984 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.008206, allocations: 0 / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.008318, allocations: 215 kB / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.008332, allocations: 11.91 kB / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.00835, allocations: 7.938 kB / 331.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.008391, allocations: 7.984 kB / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.00842, allocations: 4.031 kB / 331.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.008433, allocations: 7.984 kB / 331.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.088e-05/0.008494, allocations: 73.02 kB / 331.7 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.008494, allocations: 0 / 331.7 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000152/0.008646, allocations: 31.92 kB / 331.7 MB, free: 0.918 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.001243/0.009889, allocations: 0.5709 MB / 332.3 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.743e-05/0.009977, allocations: 52.7 kB / 332.4 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.00998, allocations: 0 / 332.4 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.01002, allocations: 28.78 kB / 332.4 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.01019, allocations: 31.05 kB / 332.4 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.01051, allocations: 260.3 kB / 332.7 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.216e-05/0.01055, allocations: 79.33 kB / 332.8 MB, free: 156 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.294e-05/0.01059, allocations: 17.27 kB / 332.8 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.01065, allocations: 67.36 kB / 332.8 MB, free: 72 kB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01065, allocations: 0 / 332.8 MB, free: 72 kB / 298.7 MB Notification: Performance of Templates: time 0.003468/0.01412, allocations: 2.034 MB / 334.9 MB, free: 14.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.03971413616091]