Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001196/0.001196, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001056/0.001056, allocations: 165 kB / 24.56 MB, free: 12 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.9259/0.9259, allocations: 177.1 MB / 205 MB, free: 5.637 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.2468/0.2468, allocations: 32.81 MB / 294.3 MB, free: 1.207 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 376.1 MB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.318e-05, allocations: 10.25 kB / 376.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.001976/0.001999, allocations: 1.778 MB / 377.9 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003055, allocations: 1.013 MB / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.003108, allocations: 0 / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.003357, allocations: 83.64 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.003605, allocations: 123.4 kB / 379.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.003745, allocations: 79.59 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.00389, allocations: 131.6 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.047e-05/0.00396, allocations: 8 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.004036, allocations: 71.8 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.004116, allocations: 51.88 kB / 379.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.00413, allocations: 4 kB / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.435e-05/0.004214, allocations: 63.91 kB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.004258, allocations: 27.86 kB / 379.5 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.004291, allocations: 23.92 kB / 379.6 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.004438, allocations: 115.5 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-06/0.004439, allocations: 0 / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00444, allocations: 0 / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.004443, allocations: 8 kB / 379.7 MB, free: 0.9453 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000371/0.004815, allocations: 463.7 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.004842, allocations: 8.031 kB / 380.2 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.004879, allocations: 16.84 kB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.005021, allocations: 164.3 kB / 380.3 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.005038, allocations: 4.375 kB / 380.3 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.005054, allocations: 4.375 kB / 380.3 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.726e-05/0.005151, allocations: 62.94 kB / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.00516, allocations: 3.938 kB / 380.4 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.005168, allocations: 4 kB / 380.4 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005174, allocations: 4 kB / 380.4 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.304e-05/0.005207, allocations: 15.98 kB / 380.4 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.005502, allocations: 299.7 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.005655, allocations: 66.92 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.005681, allocations: 15.67 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.005692, allocations: 4 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.943e-05/0.005772, allocations: 65.17 kB / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.005773, allocations: 0 / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004432/0.006216, allocations: 229.6 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.006241, allocations: 55.41 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.006368, allocations: 238.7 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.006382, allocations: 33.69 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.006434, allocations: 154.9 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.006469, allocations: 43.75 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.006503, allocations: 35.36 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.006615, allocations: 0.5 MB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.006647, allocations: 19.98 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.006686, allocations: 39.36 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.197e-05/0.006748, allocations: 63.31 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.006749, allocations: 3.938 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001126/0.006862, allocations: 117.5 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.006871, allocations: 4 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.006875, allocations: 0 / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.006885, allocations: 4 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/0.006934, allocations: 19.98 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.006938, allocations: 0 / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.006963, allocations: 4.031 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.006971, allocations: 12 kB / 382.4 MB, free: 13.98 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 (13): * Single equations (assignments): 13 * 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.389e-05/0.007034, allocations: 168.5 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.007054, allocations: 23.89 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.0072, allocations: 127 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.007203, allocations: 4 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.007205, allocations: 0 / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.007209, allocations: 0 / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.007498, allocations: 440.5 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.0075, allocations: 4.062 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.00753, allocations: 19.98 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.007532, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.007542, allocations: 8 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.007543, allocations: 0 / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.007547, allocations: 3.938 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.007716, allocations: 295.3 kB / 383.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.007728, allocations: 15.91 kB / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.007745, allocations: 0 / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.16e-05/0.007787, allocations: 11.98 kB / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.007818, allocations: 15.92 kB / 383.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.007831, allocations: 4 kB / 383.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.769e-05/0.007908, allocations: 185 kB / 383.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007908, allocations: 0 / 383.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.008082, allocations: 31.92 kB / 383.8 MB, free: 12.56 MB / 362.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 (12): * Single equations (assignments): 10 * 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.0009188/0.009001, allocations: 486.5 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.009119, allocations: 67.59 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.00912, allocations: 0 / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/0.009166, allocations: 43.83 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.009375, allocations: 35.72 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.009693, allocations: 272.5 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.009735, allocations: 75.45 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.477e-05/0.00977, allocations: 16.66 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.009801, allocations: 20.48 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009801, allocations: 0 / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of Templates: time 0.003803/0.0136, allocations: 2.279 MB / 387 MB, free: 9.449 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.9750916832126677]