Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001105/0.001105, 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.001329/0.001329, allocations: 168.2 kB / 24.91 MB, free: 9.16 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.9971/0.9971, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2507/0.2507, allocations: 32.8 MB / 294.6 MB, free: 0.707 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 323.3 MB, free: 9.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.376e-05, allocations: 2.312 kB / 323.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002407/0.002431, allocations: 1.752 MB / 325.1 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.003763, allocations: 1.012 MB / 326.1 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.321e-05/0.003846, allocations: 0 / 326.1 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.004135, allocations: 47.69 kB / 326.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.004436, allocations: 99.47 kB / 326.2 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.004642, allocations: 75.69 kB / 326.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.004786, allocations: 107.6 kB / 326.4 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.53e-05/0.004861, allocations: 13.31 kB / 326.4 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.004948, allocations: 55.83 kB / 326.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.005019, allocations: 27.91 kB / 326.5 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.005034, allocations: 8 kB / 326.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.016e-05/0.005114, allocations: 43.92 kB / 326.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.005161, allocations: 27.84 kB / 326.6 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.005191, allocations: 19.92 kB / 326.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.00534, allocations: 99.66 kB / 326.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.005343, allocations: 0 / 326.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005344, allocations: 0 / 326.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.005347, allocations: 0 / 326.7 MB, free: 6.082 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.0003472/0.005694, allocations: 325.3 kB / 327 MB, free: 5.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.005726, allocations: 11.97 kB / 327 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.005759, allocations: 12.92 kB / 327 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.005906, allocations: 154.1 kB / 327.2 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.005922, allocations: 4.375 kB / 327.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.005941, allocations: 8.375 kB / 327.2 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.006044, allocations: 57.77 kB / 327.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.006055, allocations: 3.938 kB / 327.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.006066, allocations: 8 kB / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.006071, allocations: 0 / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.153e-05/0.006093, allocations: 7.984 kB / 327.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.006286, allocations: 173.8 kB / 327.4 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.84e-05/0.006375, allocations: 85.3 kB / 327.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.006393, allocations: 12.92 kB / 327.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.006403, allocations: 4 kB / 327.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.006626, allocations: 58.16 kB / 327.6 MB, free: 5.074 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.006627, allocations: 4 kB / 327.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000293/0.00692, allocations: 113.5 kB / 327.7 MB, free: 4.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.006949, allocations: 55.41 kB / 327.8 MB, free: 4.887 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.007053, allocations: 188.2 kB / 328 MB, free: 4.688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.007067, allocations: 29.7 kB / 328 MB, free: 4.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.007098, allocations: 100.1 kB / 328.1 MB, free: 4.551 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.007123, allocations: 31.77 kB / 328.1 MB, free: 4.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.007158, allocations: 13.72 kB / 328.1 MB, free: 4.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.007234, allocations: 334.8 kB / 328.5 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.00725, allocations: 14.77 kB / 328.5 MB, free: 4.148 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.007271, allocations: 17.72 kB / 328.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.007314, allocations: 52.56 kB / 328.5 MB, free: 4.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.007314, allocations: 3.938 kB / 328.5 MB, free: 4.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.209e-05/0.007387, allocations: 68.44 kB / 328.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.007396, allocations: 8.031 kB / 328.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007401, allocations: 4 kB / 328.6 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.007412, allocations: 0 / 328.6 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.828e-05/0.007471, allocations: 19.92 kB / 328.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.007474, allocations: 0 / 328.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.007504, allocations: 8.375 kB / 328.6 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.007509, allocations: 0 / 328.6 MB, free: 3.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.648e-05/0.007576, allocations: 116.7 kB / 328.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.00759, allocations: 15.92 kB / 328.8 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.763e-05/0.007688, allocations: 71.08 kB / 328.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007689, allocations: 4 kB / 328.8 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.007692, allocations: 4 kB / 328.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.007696, allocations: 3.984 kB / 328.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.007902, allocations: 295.4 kB / 329.1 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007903, allocations: 0 / 329.1 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.007927, allocations: 8 kB / 329.2 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.007933, allocations: 7.984 kB / 329.2 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.007939, allocations: 3.984 kB / 329.2 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.007942, allocations: 0 / 329.2 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007943, allocations: 32 / 329.2 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.705e-05/0.00804, allocations: 223 kB / 329.4 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.008052, allocations: 15.89 kB / 329.4 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.008065, allocations: 0 / 329.4 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.95e-05/0.008105, allocations: 11.98 kB / 329.4 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.008127, allocations: 0 / 329.4 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.008139, allocations: 7.984 kB / 329.4 MB, free: 3.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.425e-05/0.008183, allocations: 56.69 kB / 329.5 MB, free: 3.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008183, allocations: 0 / 329.5 MB, free: 3.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001437/0.008327, allocations: 27.94 kB / 329.5 MB, free: 3.023 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.001179/0.009506, allocations: 0.5755 MB / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.009615, allocations: 40.78 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.00962, allocations: 0 / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.009659, allocations: 32.89 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.009846, allocations: 35.91 kB / 330.2 MB, free: 2.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.01016, allocations: 227.5 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.0102, allocations: 63.34 kB / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.724e-05/0.01024, allocations: 13.28 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.0103, allocations: 67.36 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.0103, allocations: 0 / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of Templates: time 0.003796/0.0141, allocations: 2.031 MB / 332.6 MB, free: 224 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.990596469026059]