Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001391/0.001391, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001042/0.001042, allocations: 169.9 kB / 24.91 MB, free: 9.195 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.9883/0.9883, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2619/0.2619, allocations: 34.27 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.265e-05, allocations: 7.016 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002213/0.002236, allocations: 1.764 MB / 327.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.003443, allocations: 1.006 MB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.003513, allocations: 0 / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.003788, allocations: 55.62 kB / 328.2 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.004037, allocations: 103.5 kB / 328.3 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.004205, allocations: 83.59 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.004356, allocations: 111.6 kB / 328.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.559e-05/0.004432, allocations: 7.984 kB / 328.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.301e-05/0.004515, allocations: 55.83 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.004583, allocations: 23.92 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.004597, allocations: 4 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.004678, allocations: 47.91 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.004724, allocations: 27.92 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.004755, allocations: 23.86 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.004912, allocations: 119.5 kB / 328.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004914, allocations: 4 kB / 328.8 MB, free: 4.168 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004914, allocations: 0 / 328.8 MB, free: 4.168 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.004918, allocations: 0 / 328.8 MB, free: 4.168 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.0004132/0.005331, allocations: 361.2 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.005362, allocations: 12.03 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.005392, allocations: 4.938 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.005537, allocations: 157.5 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.005551, allocations: 4.312 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.005569, allocations: 4.375 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.00567, allocations: 61.77 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.005681, allocations: 7.938 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.005687, allocations: 0 / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.005692, allocations: 4 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.005716, allocations: 11.97 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.005904, allocations: 170 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/0.005985, allocations: 85.23 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.006006, allocations: 20.78 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.006016, allocations: 0 / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.71e-05/0.006093, allocations: 70.14 kB / 329.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.006094, allocations: 4 kB / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002669/0.00636, allocations: 109.5 kB / 329.8 MB, free: 2.996 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.006391, allocations: 51.41 kB / 329.9 MB, free: 2.934 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.006517, allocations: 220.9 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.006532, allocations: 29.7 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.006566, allocations: 104.1 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.00659, allocations: 23.77 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.006617, allocations: 21.72 kB / 330.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.006691, allocations: 326.8 kB / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.006709, allocations: 14.81 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.006731, allocations: 30.02 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/0.006773, allocations: 48.5 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.006774, allocations: 0 / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.397e-05/0.006848, allocations: 80.38 kB / 330.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.006859, allocations: 8 kB / 330.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.006863, allocations: 0 / 330.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.006875, allocations: 0 / 330.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/0.006932, allocations: 12 kB / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.006936, allocations: 3.984 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.006962, allocations: 8.031 kB / 330.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.006966, allocations: 0 / 330.8 MB, free: 1.961 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 6.464e-05/0.007031, allocations: 123 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.007045, allocations: 15.92 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.007152, allocations: 83.06 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.007154, allocations: 0 / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.007155, allocations: 0 / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.007158, allocations: 0 / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.007369, allocations: 299.6 kB / 331.3 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.007371, allocations: 4.031 kB / 331.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.007398, allocations: 11.98 kB / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.007399, allocations: 0 / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.007405, allocations: 0 / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.007407, allocations: 4 kB / 331.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007408, allocations: 4.016 kB / 331.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.007515, allocations: 227 kB / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.007528, allocations: 15.91 kB / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.007543, allocations: 0 / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.007581, allocations: 4 kB / 331.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.007605, allocations: 11.98 kB / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.007615, allocations: 4 kB / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.97e-05/0.007675, allocations: 81.73 kB / 331.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007675, allocations: 0 / 331.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.007819, allocations: 23.94 kB / 331.7 MB, free: 1 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.001303/0.009122, allocations: 0.5837 MB / 332.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.444e-05/0.009217, allocations: 36.78 kB / 332.3 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.009222, allocations: 4 kB / 332.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.009251, allocations: 20.8 kB / 332.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.00944, allocations: 42.81 kB / 332.4 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.00979, allocations: 272.3 kB / 332.6 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.976e-05/0.00984, allocations: 71.33 kB / 332.7 MB, free: 232 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.499e-05/0.009875, allocations: 21.27 kB / 332.7 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.009939, allocations: 67.38 kB / 332.8 MB, free: 140 kB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.00994, allocations: 0 / 332.8 MB, free: 140 kB / 298.7 MB Notification: Performance of Templates: time 0.003493/0.01343, allocations: 2.034 MB / 334.8 MB, free: 14.13 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.929912269115448]