Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001502/0.001502, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001174/0.001174, allocations: 161 kB / 24.56 MB, free: 20 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 0.9926/0.9926, allocations: 177.1 MB / 205 MB, free: 5.297 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.2667/0.2667, allocations: 32.81 MB / 294.3 MB, free: 1.246 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 376.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.846e-05, allocations: 10.25 kB / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002495/0.002524, allocations: 1.77 MB / 377.9 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003754, allocations: 1.009 MB / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.811e-05/0.003832, allocations: 0 / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.004134, allocations: 39.7 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.004448, allocations: 103.5 kB / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.004641, allocations: 79.61 kB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.004795, allocations: 103.7 kB / 379.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.004892, allocations: 12 kB / 379.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.339e-05/0.004985, allocations: 59.77 kB / 379.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.005063, allocations: 27.91 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.00508, allocations: 4 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.11e-05/0.005171, allocations: 43.92 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.005226, allocations: 23.91 kB / 379.4 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.005271, allocations: 19.88 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.00548, allocations: 107.6 kB / 379.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.005482, allocations: 0 / 379.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.005484, allocations: 0 / 379.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005489, allocations: 0 / 379.5 MB, free: 1.188 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.0005421/0.006031, allocations: 455.8 kB / 379.9 MB, free: 0.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.006072, allocations: 8.031 kB / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.006126, allocations: 16.89 kB / 380 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.006324, allocations: 160.8 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.006344, allocations: 4.375 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.006373, allocations: 384 / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.006519, allocations: 66.88 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.006531, allocations: 3.938 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.006541, allocations: 0 / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.00655, allocations: 0 / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.801e-05/0.006588, allocations: 19.98 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.006927, allocations: 283.8 kB / 380.5 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.007044, allocations: 51.11 kB / 380.5 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.007093, allocations: 27.61 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.007111, allocations: 3.984 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.007217, allocations: 65.05 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.007218, allocations: 4 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004321/0.007651, allocations: 153.3 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.007685, allocations: 59.41 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.007827, allocations: 233.9 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.007843, allocations: 29.7 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.007905, allocations: 158.8 kB / 381.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.007934, allocations: 31.77 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.00797, allocations: 27.38 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.008108, allocations: 0.4962 MB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.008135, allocations: 11.98 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.173e-05/0.008177, allocations: 35.31 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.866e-05/0.008235, allocations: 55.3 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.008237, allocations: 0 / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001138/0.00835, allocations: 85.95 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.008364, allocations: 4 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.008369, allocations: 4 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.008388, allocations: 0 / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.008469, allocations: 23.98 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.008474, allocations: 0 / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.008504, allocations: 7.953 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.008511, allocations: 4 kB / 382 MB, free: 14.41 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.283e-05/0.008593, allocations: 175.7 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.008608, allocations: 11.95 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.008767, allocations: 111.2 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008769, allocations: 0 / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.008773, allocations: 3.984 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.008776, allocations: 4 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.009081, allocations: 396.9 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.009083, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.009112, allocations: 8 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009115, allocations: 4.031 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.009123, allocations: 7.984 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.009126, allocations: 0 / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009127, allocations: 0 / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.00928, allocations: 259.4 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.009293, allocations: 15.91 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.009308, allocations: 0 / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.066e-05/0.009348, allocations: 4 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.009381, allocations: 3.984 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.009395, allocations: 8 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.443e-05/0.00948, allocations: 180.1 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00948, allocations: 8 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.009649, allocations: 23.94 kB / 383.2 MB, free: 13.13 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.001021/0.01067, allocations: 436.4 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.0108, allocations: 47.66 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.0108, allocations: 4 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.01084, allocations: 39.59 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.01107, allocations: 23.97 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.01148, allocations: 234.3 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.899e-05/0.01153, allocations: 67.28 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.499e-05/0.01158, allocations: 20.95 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.01162, allocations: 20.5 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01162, allocations: 3.938 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Templates: time 0.003714/0.01533, allocations: 1.873 MB / 386 MB, free: 10.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.348284804262221]