Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001384/0.001384, allocations: 83.58 kB / 21.19 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.001412/0.001412, allocations: 165 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 0.9599/0.9599, 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.2343/0.2343, allocations: 32.81 MB / 294.3 MB, free: 1.285 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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.192e-05, allocations: 2.312 kB / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003489/0.003521, allocations: 1.793 MB / 377.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.005247, allocations: 1.001 MB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.005336, allocations: 3.938 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.00571, allocations: 83.69 kB / 379 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.006132, allocations: 143.3 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.006383, allocations: 71.69 kB / 379.2 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.00661, allocations: 127.6 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.006714, allocations: 11.98 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.006838, allocations: 67.81 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.00697, allocations: 63.86 kB / 379.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.006991, allocations: 4 kB / 379.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.007121, allocations: 67.83 kB / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.305e-05/0.007184, allocations: 27.86 kB / 379.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.007229, allocations: 23.94 kB / 379.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.007468, allocations: 123.5 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.007472, allocations: 4 kB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007473, allocations: 0 / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.007478, allocations: 0 / 379.7 MB, free: 0.9492 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.0005789/0.008057, allocations: 463.7 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.008098, allocations: 8.031 kB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.008164, allocations: 20.84 kB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.008397, allocations: 165.1 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.008419, allocations: 384 / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.008445, allocations: 12.38 kB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.008614, allocations: 66.92 kB / 380.4 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.00863, allocations: 3.938 kB / 380.4 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.008641, allocations: 0 / 380.4 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.008651, allocations: 7.938 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.976e-05/0.008711, allocations: 11.98 kB / 380.5 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.009159, allocations: 303.6 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.009421, allocations: 66.97 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.009466, allocations: 11.69 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.00948, allocations: 8 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.009626, allocations: 73.17 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.694e-06/0.009628, allocations: 0 / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007811/0.01041, allocations: 229.7 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.01045, allocations: 51.41 kB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.01066, allocations: 259.1 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.01069, allocations: 25.7 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.01077, allocations: 158.9 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.01082, allocations: 39.69 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.01087, allocations: 31.38 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.01103, allocations: 0.5078 MB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.227e-05/0.01108, allocations: 20 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-05/0.01114, allocations: 43.34 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.01126, allocations: 63.25 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01126, allocations: 0 / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002065/0.01147, allocations: 113.5 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.01149, allocations: 4 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01149, allocations: 0 / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.01151, allocations: 4.031 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.01159, allocations: 23.98 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.0116, allocations: 0 / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.01165, allocations: 8 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.01166, allocations: 4 kB / 382.5 MB, free: 13.96 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 0.000104/0.01176, allocations: 168.5 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.0118, allocations: 19.91 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.01204, allocations: 131.3 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01204, allocations: 0 / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01205, allocations: 0 / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01205, allocations: 8 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.01253, allocations: 444.5 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.01253, allocations: 0 / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.01259, allocations: 19.98 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01259, allocations: 0 / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.01261, allocations: 8 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01261, allocations: 0 / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.01261, allocations: 7.875 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.01286, allocations: 283.2 kB / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.01289, allocations: 23.95 kB / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.01291, allocations: 0 / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.013, allocations: 8 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.01304, allocations: 11.92 kB / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.01306, allocations: 4 kB / 383.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.0132, allocations: 183.1 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0132, allocations: 3.938 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003271/0.01353, allocations: 31.92 kB / 383.8 MB, free: 12.54 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.001494/0.01503, allocations: 490.9 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.01526, allocations: 75.47 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.01527, allocations: 0 / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.01535, allocations: 43.61 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.01577, allocations: 28.16 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008892/0.01666, allocations: 277.3 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.125e-05/0.01672, allocations: 71.33 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.707e-05/0.01679, allocations: 16.64 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.01684, allocations: 20.5 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.01684, allocations: 0 / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Templates: time 0.00533/0.02217, allocations: 2.281 MB / 387.1 MB, free: 9.414 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.052593385335058]