Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001023/0.001023, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009407/0.0009407, allocations: 165.5 kB / 24.82 MB, free: 9.27 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.989/0.989, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2406/0.2406, allocations: 32.81 MB / 294.6 MB, free: 1.234 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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.169e-05, allocations: 6.25 kB / 376.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002386/0.002408, allocations: 1.781 MB / 378.4 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.003732, allocations: 0.9897 MB / 379.3 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.649e-05/0.003829, allocations: 0 / 379.3 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.00413, allocations: 59.67 kB / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.004453, allocations: 103.5 kB / 379.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.004689, allocations: 83.59 kB / 379.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.004883, allocations: 123.7 kB / 379.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.004978, allocations: 15.98 kB / 379.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.005087, allocations: 71.75 kB / 379.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.664e-05/0.005183, allocations: 39.89 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.005201, allocations: 4 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.005309, allocations: 71.89 kB / 379.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.005363, allocations: 27.86 kB / 379.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.005408, allocations: 31.92 kB / 380 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.005607, allocations: 131.4 kB / 380.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.00561, allocations: 0 / 380.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005611, allocations: 0 / 380.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.005615, allocations: 0 / 380.1 MB, free: 0.7695 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004564/0.006072, allocations: 467.7 kB / 380.5 MB, free: 284 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.006112, allocations: 8.031 kB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.006156, allocations: 16.84 kB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.006313, allocations: 164.9 kB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.006328, allocations: 384 / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.006347, allocations: 16.31 kB / 380.7 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.006487, allocations: 78.84 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.006499, allocations: 7.922 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.006508, allocations: 4 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.006514, allocations: 0 / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.217e-05/0.006556, allocations: 19.97 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.006866, allocations: 284.2 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.007046, allocations: 71.02 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.007076, allocations: 23.67 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.007094, allocations: 3.938 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.007199, allocations: 81.22 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.007201, allocations: 0 / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004844/0.007685, allocations: 237.8 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.007711, allocations: 51.41 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.007832, allocations: 229.8 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.007847, allocations: 29.7 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.007909, allocations: 155.1 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.007947, allocations: 47.62 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.007993, allocations: 35.36 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.00812, allocations: 0.5039 MB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.00815, allocations: 19.98 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.008191, allocations: 43 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.751e-05/0.008259, allocations: 67.34 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.00826, allocations: 0 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001398/0.0084, allocations: 129.3 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.008414, allocations: 4 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.008419, allocations: 0 / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.008434, allocations: 4.031 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.008505, allocations: 35.92 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.008509, allocations: 3.938 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.402e-05/0.008543, allocations: 0 / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.008551, allocations: 4 kB / 382.9 MB, free: 13.76 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 (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 9.218e-05/0.008643, allocations: 172.4 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.008668, allocations: 23.91 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.008876, allocations: 147 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.00888, allocations: 0 / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.008882, allocations: 0 / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.008888, allocations: 7.984 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.009277, allocations: 445.1 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.009279, allocations: 0 / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.009326, allocations: 27.92 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.009329, allocations: 0 / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.009337, allocations: 4 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.009339, allocations: 0 / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.009341, allocations: 0 / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.009521, allocations: 307 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.009537, allocations: 19.97 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.009558, allocations: 4 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.919e-05/0.009607, allocations: 11.92 kB / 384 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.009648, allocations: 19.92 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.009662, allocations: 4 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.319e-05/0.009736, allocations: 176.2 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.009736, allocations: 0 / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001956/0.009931, allocations: 35.94 kB / 384.3 MB, free: 12.3 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 (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.001087/0.01102, allocations: 491.5 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.01118, allocations: 78.77 kB / 384.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.01118, allocations: 0 / 384.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.145e-05/0.01124, allocations: 55.33 kB / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.01151, allocations: 36.14 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.012, allocations: 274.1 kB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.729e-05/0.01205, allocations: 75.83 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.984e-05/0.01211, allocations: 17.48 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.01221, allocations: 102.2 kB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01221, allocations: 0 / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of Templates: time 0.006375/0.01859, allocations: 2.617 MB / 388 MB, free: 8.734 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.986101078335196]