Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001026/0.001026, allocations: 78.66 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.0009096/0.0009096, allocations: 166 kB / 24.82 MB, free: 9.266 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.9581/0.9581, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2594/0.2594, allocations: 32.8 MB / 294.6 MB, free: 1.188 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 376.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.055e-05, allocations: 10.25 kB / 376.6 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001992/0.002013, allocations: 1.711 MB / 378.3 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.003071, allocations: 0.978 MB / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.003134, allocations: 0 / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.003378, allocations: 51.75 kB / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.003609, allocations: 119.4 kB / 379.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.003728, allocations: 67.69 kB / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.003909, allocations: 107.6 kB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.003945, allocations: 4.234 kB / 379.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.047e-05/0.004026, allocations: 47.84 kB / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.004091, allocations: 27.91 kB / 379.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.004104, allocations: 4 kB / 379.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.203e-05/0.004166, allocations: 35.92 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.004208, allocations: 23.92 kB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.004258, allocations: 23.86 kB / 379.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.004395, allocations: 107.6 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004397, allocations: 0 / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004397, allocations: 0 / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.004401, allocations: 0 / 379.9 MB, free: 0.9805 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004107/0.004811, allocations: 467.7 kB / 380.3 MB, free: 500 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.004855, allocations: 12.03 kB / 380.3 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.004895, allocations: 12.84 kB / 380.3 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.005034, allocations: 165.2 kB / 380.5 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.005047, allocations: 4.312 kB / 380.5 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.005055, allocations: 8.359 kB / 380.5 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.347e-05/0.005148, allocations: 58.95 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.005155, allocations: 3.938 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-06/0.005161, allocations: 0 / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.005167, allocations: 3.984 kB / 380.6 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.988e-05/0.005187, allocations: 7.984 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.005294, allocations: 125.2 kB / 380.7 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.584e-05/0.00538, allocations: 43.11 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.005397, allocations: 15.62 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.00541, allocations: 4 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.41e-05/0.005494, allocations: 69.03 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.005495, allocations: 0 / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001418/0.005637, allocations: 93.45 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.00566, allocations: 51.41 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.005859, allocations: 266.6 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.005873, allocations: 33.7 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.005928, allocations: 162.8 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.005953, allocations: 19.88 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.005981, allocations: 23.38 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.006091, allocations: 0.5001 MB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.006105, allocations: 15.98 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.024e-05/0.006125, allocations: 23.36 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/0.006163, allocations: 35.36 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.006164, allocations: 7.875 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.758e-05/0.006232, allocations: 65.61 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.006242, allocations: 7.984 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.006246, allocations: 4 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.006257, allocations: 3.938 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.006306, allocations: 15.97 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.006308, allocations: 0 / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.006336, allocations: 8 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.006339, allocations: 0 / 382.2 MB, free: 14.46 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 (7): * Single equations (assignments): 7 * 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.223e-05/0.006402, allocations: 167.9 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.006416, allocations: 15.91 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.267e-05/0.006508, allocations: 78.83 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.006511, allocations: 7.938 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.006513, allocations: 384 / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006515, allocations: 0 / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.027e-05/0.006596, allocations: 137.2 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006596, allocations: 0 / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.006611, allocations: 7.938 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.006613, allocations: 4 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.006618, allocations: 4 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006619, allocations: 0 / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.00662, allocations: 0 / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.711e-05/0.006717, allocations: 120.3 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.00673, allocations: 11.91 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.006744, allocations: 0 / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.182e-05/0.006766, allocations: 7.984 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.006783, allocations: 4 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.006794, allocations: 7.938 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001997/0.006993, allocations: 192.5 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006993, allocations: 0 / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001311/0.007125, allocations: 16 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007071/0.007832, allocations: 394.4 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.553e-05/0.007907, allocations: 31.66 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007909, allocations: 4 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.007937, allocations: 27.61 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.008099, allocations: 27.77 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.008394, allocations: 230.6 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.085e-05/0.008444, allocations: 79.33 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.431e-05/0.008479, allocations: 8.75 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.008546, allocations: 86.19 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008547, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of Templates: time 0.003272/0.01182, allocations: 1.825 MB / 385.6 MB, free: 11.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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.0274680317379534]