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.001404/0.001404, allocations: 92.31 kB / 20.96 MB, free: 3.465 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.001542/0.001542, allocations: 157.7 kB / 24.27 MB, free: 164 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 1.579/1.579, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3737/0.3737, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|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.1.|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.843e-06/1.843e-06, allocations: 0 / 375.4 MB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.508e-05, allocations: 6.25 kB / 375.4 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003615/0.00365, allocations: 1.731 MB / 377.1 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.00569, allocations: 0.9776 MB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.622e-05/0.005777, allocations: 7.938 kB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.00616, allocations: 79.69 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.006533, allocations: 119.4 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.006762, allocations: 87.59 kB / 378.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.007102, allocations: 123.6 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.007212, allocations: 15.92 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.007342, allocations: 63.81 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.007463, allocations: 55.88 kB / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.007485, allocations: 4 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.007623, allocations: 59.91 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-05/0.007696, allocations: 31.84 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.007748, allocations: 15.94 kB / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.008058, allocations: 143.5 kB / 378.9 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.008063, allocations: 0 / 378.9 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.008064, allocations: 4 kB / 378.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.00807, allocations: 0 / 378.9 MB, free: 1.348 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.0007067/0.008777, allocations: 365.4 kB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.008817, allocations: 8.031 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.008885, allocations: 16.84 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.009214, allocations: 158 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.009232, allocations: 4.359 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.009263, allocations: 8.359 kB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.009447, allocations: 66.22 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.009462, allocations: 3.938 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.009475, allocations: 7.938 kB / 379.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.00948, allocations: 0 / 379.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.009571, allocations: 23.98 kB / 379.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.01002, allocations: 244.5 kB / 379.8 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.01029, allocations: 58.48 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.334e-05/0.01037, allocations: 24.97 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.01039, allocations: 4 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.01055, allocations: 67.39 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.01055, allocations: 4 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008877/0.01144, allocations: 265.6 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.01149, allocations: 51.41 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.01175, allocations: 223.5 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.01178, allocations: 33.7 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.01187, allocations: 104.1 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.01191, allocations: 35.69 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.01196, allocations: 29.72 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.01215, allocations: 334.8 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.887e-05/0.01223, allocations: 31.98 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-05/0.01232, allocations: 45.7 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.0125, allocations: 85.58 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.0125, allocations: 0 / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002888/0.01279, allocations: 137.5 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.0128, allocations: 4 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.0128, allocations: 0 / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.01282, allocations: 4 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.668e-05/0.0129, allocations: 24.02 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.01291, allocations: 0 / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.01296, allocations: 4 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.01297, allocations: 4 kB / 381.3 MB, free: 14.73 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.0001283/0.0131, allocations: 133.8 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.01314, allocations: 23.84 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.01347, allocations: 147 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.01347, allocations: 8 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01348, allocations: 0 / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.01348, allocations: 0 / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.0141, allocations: 415.6 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.0141, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.01416, allocations: 12 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01416, allocations: 4 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.01417, allocations: 0 / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.01417, allocations: 4 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.01418, allocations: 3.938 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.01453, allocations: 253.3 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.01455, allocations: 15.97 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.01458, allocations: 15.98 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.01468, allocations: 0 / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.01472, allocations: 15.92 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.01474, allocations: 4 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001829/0.01492, allocations: 177.1 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01492, allocations: 0 / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.0152, allocations: 27.94 kB / 382.5 MB, free: 13.41 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.002561/0.01777, allocations: 0.5514 MB / 383.1 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.018, allocations: 75.91 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.01801, allocations: 4 kB / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.01811, allocations: 39.92 kB / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.01849, allocations: 35.95 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.01908, allocations: 285.2 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.0192, allocations: 106 kB / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.396e-05/0.01927, allocations: 20.62 kB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/0.01932, allocations: 24.44 kB / 383.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01932, allocations: 0 / 383.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of Templates: time 0.005832/0.02515, allocations: 2.118 MB / 385.8 MB, free: 10.38 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.890285727917217]