Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001554/0.001554, allocations: 80.8 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.001902/0.001902, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 1.001/1.001, 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.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.2412/0.2412, allocations: 34.26 MB / 296.1 MB, free: 0.6758 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.242e-05, allocations: 8.047 kB / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002243/0.002266, allocations: 1.757 MB / 327.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.003538, allocations: 1.006 MB / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.003616, allocations: 0 / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.003918, allocations: 91.58 kB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.004189, allocations: 115.5 kB / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.004354, allocations: 83.53 kB / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.004511, allocations: 123.5 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.57e-05/0.004587, allocations: 7.984 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.893e-05/0.004675, allocations: 63.83 kB / 328.6 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.667e-05/0.004762, allocations: 51.86 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.004776, allocations: 4 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.318e-05/0.004849, allocations: 43.92 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.004894, allocations: 27.92 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.004928, allocations: 28.36 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.005079, allocations: 99.59 kB / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005082, allocations: 0 / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005082, allocations: 0 / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.005085, allocations: 0 / 328.8 MB, free: 4.094 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.0003623/0.005448, allocations: 329.5 kB / 329.1 MB, free: 3.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.005478, allocations: 8.031 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.005508, allocations: 12.92 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.005656, allocations: 153.5 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.00567, allocations: 8.312 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.005688, allocations: 4.375 kB / 329.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.005791, allocations: 69.69 kB / 329.4 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.005801, allocations: 3.938 kB / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.005807, allocations: 0 / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.005814, allocations: 0 / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.005836, allocations: 11.98 kB / 329.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.006034, allocations: 173.9 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.346e-05/0.006118, allocations: 85.23 kB / 329.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.006137, allocations: 12.86 kB / 329.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.006147, allocations: 0 / 329.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.872e-05/0.006225, allocations: 74.12 kB / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.006227, allocations: 0 / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002873/0.006514, allocations: 109.5 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.006547, allocations: 59.39 kB / 329.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.006654, allocations: 181.1 kB / 330.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.006668, allocations: 29.7 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.0067, allocations: 92.11 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.006727, allocations: 27.77 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.006758, allocations: 29.7 kB / 330.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.185e-05/0.00683, allocations: 326.8 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.006848, allocations: 14.81 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.459e-05/0.006872, allocations: 25.64 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.006914, allocations: 44.52 kB / 330.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006915, allocations: 0 / 330.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.391e-05/0.006989, allocations: 76.36 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.007001, allocations: 4 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.007005, allocations: 0 / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.007018, allocations: 8.406 kB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.652e-05/0.007074, allocations: 12 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.007077, allocations: 0 / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.007104, allocations: 7.984 kB / 330.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.007111, allocations: 8 kB / 330.8 MB, free: 1.949 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.394e-05/0.007175, allocations: 116.6 kB / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.007189, allocations: 15.92 kB / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.007291, allocations: 71.14 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.007293, allocations: 3.938 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.007294, allocations: 0 / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.007298, allocations: 4 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.007553, allocations: 303.5 kB / 331.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007554, allocations: 0 / 331.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.007579, allocations: 11.94 kB / 331.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.007583, allocations: 4 kB / 331.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.007589, allocations: 0 / 331.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.00759, allocations: 0 / 331.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007591, allocations: 80 / 331.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.007692, allocations: 227 kB / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.007704, allocations: 7.953 kB / 331.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.007717, allocations: 4.031 kB / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.818e-05/0.007756, allocations: 4 kB / 331.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.007778, allocations: 7.984 kB / 331.5 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.007788, allocations: 4 kB / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.472e-05/0.007832, allocations: 65.53 kB / 331.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007832, allocations: 0 / 331.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.007973, allocations: 31.92 kB / 331.6 MB, free: 1.012 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.001285/0.009259, allocations: 0.575 MB / 332.2 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.1e-05/0.00934, allocations: 44.78 kB / 332.3 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.009343, allocations: 0 / 332.3 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/0.009372, allocations: 28.78 kB / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.009537, allocations: 32 kB / 332.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.009844, allocations: 234.4 kB / 332.6 MB, free: 380 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.335e-05/0.009887, allocations: 67.34 kB / 332.6 MB, free: 292 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.499e-05/0.009922, allocations: 17.27 kB / 332.6 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.009983, allocations: 67.36 kB / 332.7 MB, free: 204 kB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.009984, allocations: 0 / 332.7 MB, free: 204 kB / 298.7 MB Notification: Performance of Templates: time 0.003528/0.01351, allocations: 2.023 MB / 334.7 MB, free: 14.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.925848396960646]