Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.0008945/0.0008945, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.000938/0.000938, allocations: 169 kB / 24.91 MB, free: 8.723 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.947/0.947, allocations: 177.1 MB / 205.3 MB, free: 4.488 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.132/0.132, allocations: 34.26 MB / 296.1 MB, free: 13.98 MB / 282.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 325.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.3e-05, allocations: 2.312 kB / 325.3 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00193/0.001943, allocations: 1.78 MB / 327.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.003073, allocations: 1.009 MB / 328.1 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.003137, allocations: 8 kB / 328.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.003363, allocations: 39.77 kB / 328.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.003608, allocations: 111.4 kB / 328.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.003762, allocations: 79.66 kB / 328.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.003905, allocations: 135.5 kB / 328.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.285e-05/0.003978, allocations: 15.97 kB / 328.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.982e-05/0.004068, allocations: 63.81 kB / 328.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.637e-05/0.004144, allocations: 47.88 kB / 328.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.004159, allocations: 4 kB / 328.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.231e-05/0.004242, allocations: 63.92 kB / 328.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.004287, allocations: 39.78 kB / 328.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.004319, allocations: 27.92 kB / 328.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.004473, allocations: 131.5 kB / 328.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004475, allocations: 0 / 328.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004476, allocations: 0 / 328.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.004479, allocations: 0 / 328.9 MB, free: 13.12 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003285/0.004807, allocations: 336.1 kB / 329.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.694e-05/0.004834, allocations: 11.97 kB / 329.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.004866, allocations: 20.92 kB / 329.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.005007, allocations: 153.6 kB / 329.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.00502, allocations: 4.375 kB / 329.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.005041, allocations: 12.31 kB / 329.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.005142, allocations: 73.75 kB / 329.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.00515, allocations: 3.938 kB / 329.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.005157, allocations: 3.938 kB / 329.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.005162, allocations: 4 kB / 329.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.743e-05/0.0052, allocations: 23.97 kB / 329.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.005399, allocations: 181.9 kB / 329.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.00554, allocations: 109.3 kB / 329.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.005564, allocations: 24.84 kB / 329.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.005574, allocations: 0 / 329.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.204e-05/0.005656, allocations: 74.14 kB / 329.9 MB, free: 12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 7.11e-07/0.005656, allocations: 0 / 329.9 MB, free: 12 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003846/0.006041, allocations: 185.4 kB / 330.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.006072, allocations: 59.41 kB / 330.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/0.006171, allocations: 180.8 kB / 330.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.006186, allocations: 33.7 kB / 330.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.006212, allocations: 92.34 kB / 330.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.006243, allocations: 47.67 kB / 330.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.006275, allocations: 33.69 kB / 330.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.006343, allocations: 326.8 kB / 330.8 MB, free: 11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.006365, allocations: 14.83 kB / 330.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.006394, allocations: 33.69 kB / 330.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.113e-05/0.006455, allocations: 71.2 kB / 331 MB, free: 10.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.006456, allocations: 0 / 331 MB, free: 10.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.116e-05/0.006537, allocations: 84.44 kB / 331 MB, free: 10.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.006547, allocations: 8 kB / 331 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.006551, allocations: 4.031 kB / 331 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.006561, allocations: 0 / 331 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/0.006614, allocations: 23.98 kB / 331.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.006617, allocations: 0 / 331.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.006641, allocations: 3.984 kB / 331.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.006648, allocations: 8 kB / 331.1 MB, free: 10.73 MB / 314.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 (15): * Single equations (assignments): 15 * 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.962e-05/0.006708, allocations: 124.5 kB / 331.2 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.006722, allocations: 11.98 kB / 331.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.006848, allocations: 118.6 kB / 331.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.006849, allocations: 0 / 331.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.006851, allocations: 8 kB / 331.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006854, allocations: 0 / 331.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.007114, allocations: 359.7 kB / 331.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007115, allocations: 0 / 331.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.007153, allocations: 19.98 kB / 331.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.007155, allocations: 0 / 331.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.007163, allocations: 4 kB / 331.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007164, allocations: 3.938 kB / 331.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.007167, allocations: 7.984 kB / 331.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.007282, allocations: 255.8 kB / 332 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.007294, allocations: 11.91 kB / 332 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.007312, allocations: 8 kB / 332 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/0.007354, allocations: 8 kB / 332 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.007378, allocations: 11.97 kB / 332 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.00739, allocations: 7.938 kB / 332 MB, free: 9.727 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.007431, allocations: 56.69 kB / 332.1 MB, free: 9.668 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007431, allocations: 0 / 332.1 MB, free: 9.668 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.007578, allocations: 31.94 kB / 332.1 MB, free: 9.637 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001247/0.008825, allocations: 0.6579 MB / 332.8 MB, free: 9.285 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.00893, allocations: 60.77 kB / 332.8 MB, free: 9.223 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.008934, allocations: 4 kB / 332.8 MB, free: 9.219 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.008972, allocations: 36.78 kB / 332.9 MB, free: 9.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.00914, allocations: 44.08 kB / 332.9 MB, free: 9.148 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.009446, allocations: 268.6 kB / 333.2 MB, free: 8.852 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.769e-05/0.009484, allocations: 83.77 kB / 333.3 MB, free: 8.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.394e-05/0.009528, allocations: 25.47 kB / 333.3 MB, free: 8.723 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.009596, allocations: 71.36 kB / 333.3 MB, free: 8.652 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009596, allocations: 0 / 333.3 MB, free: 8.652 MB / 314.7 MB Notification: Performance of Templates: time 0.003726/0.01332, allocations: 2.585 MB / 335.9 MB, free: 6.102 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.955248680897057]