Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001292/0.001292, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001292/0.001292, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.9425/0.9425, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2383/0.2383, allocations: 32.8 MB / 294.6 MB, free: 1.199 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.267e-05, allocations: 2.969 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002297/0.00232, allocations: 1.753 MB / 325.1 MB, free: 7.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.003444, allocations: 1.004 MB / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.003509, allocations: 0 / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.003791, allocations: 83.62 kB / 326.2 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.004047, allocations: 123.4 kB / 326.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.004204, allocations: 87.55 kB / 326.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.004357, allocations: 119.6 kB / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.216e-05/0.00443, allocations: 5.375 kB / 326.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.662e-05/0.004516, allocations: 67.8 kB / 326.6 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.004603, allocations: 51.83 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.004616, allocations: 4 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.55e-05/0.004691, allocations: 47.91 kB / 326.7 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.004741, allocations: 23.92 kB / 326.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.00477, allocations: 15.94 kB / 326.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.004926, allocations: 115.6 kB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.145e-06/0.004928, allocations: 0 / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004929, allocations: 0 / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004933, allocations: 0 / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003296/0.005263, allocations: 329.3 kB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.005294, allocations: 8.031 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.005321, allocations: 8.938 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.005457, allocations: 153.5 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.00547, allocations: 4.375 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.005486, allocations: 4.375 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.37e-05/0.00558, allocations: 65.77 kB / 327.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005589, allocations: 3.938 kB / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.005596, allocations: 4 kB / 327.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.0056, allocations: 0 / 327.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.005625, allocations: 15.92 kB / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.005816, allocations: 158 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.553e-05/0.005902, allocations: 93.34 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.00592, allocations: 20.78 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.00593, allocations: 0 / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.5e-05/0.006005, allocations: 66.16 kB / 327.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.006006, allocations: 3.938 kB / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002508/0.006257, allocations: 113.5 kB / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.006283, allocations: 55.34 kB / 327.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.006386, allocations: 189.1 kB / 328.1 MB, free: 4.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.0064, allocations: 29.7 kB / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.006429, allocations: 96.09 kB / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.006452, allocations: 23.8 kB / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.006479, allocations: 25.7 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.00655, allocations: 334.8 kB / 328.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.006566, allocations: 10.83 kB / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.006588, allocations: 21.72 kB / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.638e-05/0.006634, allocations: 48.5 kB / 328.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.006635, allocations: 0 / 328.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.055e-05/0.006705, allocations: 68.44 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.006715, allocations: 8 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.00672, allocations: 0 / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.006729, allocations: 0 / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.343e-05/0.006782, allocations: 27.95 kB / 328.8 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.006786, allocations: 4 kB / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.006807, allocations: 0 / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.006812, allocations: 4 kB / 328.8 MB, free: 3.984 MB / 298.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 (10): * Single equations (assignments): 10 * 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 5.971e-05/0.006872, allocations: 112.7 kB / 328.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.006885, allocations: 19.91 kB / 328.9 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.556e-05/0.00698, allocations: 79.06 kB / 329 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.006984, allocations: 4 kB / 329 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.006985, allocations: 0 / 329 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006988, allocations: 0 / 329 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.007177, allocations: 299.4 kB / 329.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.007178, allocations: 0 / 329.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.007197, allocations: 8 kB / 329.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.0072, allocations: 4.359 kB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.007208, allocations: 8 kB / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.00721, allocations: 4 kB / 329.3 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.007211, allocations: 3.938 kB / 329.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.122e-05/0.007303, allocations: 211 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.007313, allocations: 7.953 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.007331, allocations: 11.98 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.4e-05/0.007365, allocations: 4.031 kB / 329.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.007387, allocations: 7.984 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.007397, allocations: 4 kB / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.007443, allocations: 65.53 kB / 329.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007443, allocations: 0 / 329.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001521/0.007595, allocations: 23.94 kB / 329.6 MB, free: 3.055 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001158/0.008752, allocations: 0.5824 MB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.445e-05/0.008837, allocations: 36.78 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.008842, allocations: 4 kB / 330.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.751e-05/0.00887, allocations: 20.84 kB / 330.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.009033, allocations: 39.86 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.009333, allocations: 234.4 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.009372, allocations: 71.33 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.56e-05/0.009407, allocations: 20.95 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.009462, allocations: 63.38 kB / 330.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009463, allocations: 0 / 330.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of Templates: time 0.003306/0.01277, allocations: 2.025 MB / 332.7 MB, free: 252 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.8934656558558345]