Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001003/0.001003, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001783/0.001783, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.037/1.037, allocations: 177.1 MB / 205 MB, free: 5.613 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.2622/0.2622, allocations: 32.81 MB / 294.3 MB, free: 1.281 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.788e-05, allocations: 2.312 kB / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002879/0.002907, allocations: 1.77 MB / 377.9 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.004261, allocations: 1.008 MB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.004332, allocations: 4 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.004663, allocations: 55.69 kB / 378.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.004945, allocations: 107.5 kB / 379 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.005105, allocations: 79.61 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.005282, allocations: 103.7 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.005387, allocations: 4 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.005489, allocations: 63.75 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.005573, allocations: 27.92 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.005591, allocations: 4 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.825e-05/0.005679, allocations: 43.92 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.00575, allocations: 35.84 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.005797, allocations: 19.92 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.006018, allocations: 107.6 kB / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.006023, allocations: 0 / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.006024, allocations: 0 / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.00603, allocations: 3.938 kB / 379.5 MB, free: 1.121 MB / 346.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.0006169/0.006647, allocations: 483.6 kB / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.006701, allocations: 8.031 kB / 380 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.006762, allocations: 20.84 kB / 380 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.007002, allocations: 165.3 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.007029, allocations: 384 / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.00706, allocations: 4.375 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.007218, allocations: 62.94 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.007233, allocations: 3.938 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.007245, allocations: 0 / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.007253, allocations: 3.938 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.231e-05/0.007295, allocations: 19.92 kB / 380.3 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.007668, allocations: 299.8 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.007786, allocations: 55.17 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.00782, allocations: 19.62 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.007839, allocations: 7.938 kB / 380.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.007963, allocations: 65.05 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.036e-06/0.007966, allocations: 3.984 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004455/0.008411, allocations: 165.2 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.008447, allocations: 55.41 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.008615, allocations: 274.7 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.008631, allocations: 33.7 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.008699, allocations: 162.9 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.008727, allocations: 27.78 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.008761, allocations: 27.38 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.008887, allocations: 0.5001 MB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.893e-05/0.008916, allocations: 11.98 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.008952, allocations: 35.36 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.125e-05/0.009013, allocations: 59.61 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.009015, allocations: 0 / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001171/0.009132, allocations: 97.53 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.009151, allocations: 7.984 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.009157, allocations: 4 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.009175, allocations: 4 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.561e-05/0.00926, allocations: 12 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.009266, allocations: 0 / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.009298, allocations: 4 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.009305, allocations: 3.984 kB / 382.2 MB, free: 14.23 MB / 362.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 8.091e-05/0.009386, allocations: 168.5 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.009407, allocations: 19.91 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.009587, allocations: 111.2 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.009589, allocations: 4 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.009593, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.009597, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.009915, allocations: 409 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.009917, allocations: 0 / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.009949, allocations: 15.88 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.009952, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.009963, allocations: 8 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.009966, allocations: 3.984 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.009968, allocations: 4.031 kB / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.01012, allocations: 263.4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.01014, allocations: 11.91 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.01016, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.575e-05/0.01021, allocations: 8 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.01025, allocations: 7.984 kB / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.01026, allocations: 0 / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.877e-05/0.01036, allocations: 204.5 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01036, allocations: 0 / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001732/0.01053, allocations: 27.92 kB / 383.4 MB, free: 12.91 MB / 362.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.0009751/0.01151, allocations: 435.7 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.01168, allocations: 55.59 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01168, allocations: 0 / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.994e-05/0.01173, allocations: 31.62 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.01201, allocations: 35.75 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.01242, allocations: 258.8 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.874e-05/0.01247, allocations: 75.45 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.805e-05/0.01251, allocations: 16.95 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.01255, allocations: 20.5 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01255, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of Templates: time 0.00415/0.0167, allocations: 1.897 MB / 386.2 MB, free: 10.22 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.340957185253501]