Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001462/0.001462, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001103/0.001103, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2792/0.2792, allocations: 32.81 MB / 294.6 MB, free: 1.254 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.912e-05, allocations: 6.25 kB / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002765/0.002784, allocations: 1.758 MB / 378.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.004654, allocations: 1.722 MB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.825e-05/0.004722, allocations: 7.938 kB / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.004954, allocations: 31.83 kB / 380.1 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.005251, allocations: 107.3 kB / 380.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.005403, allocations: 79.66 kB / 380.3 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.005552, allocations: 111.6 kB / 380.4 MB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.00563, allocations: 4 kB / 380.4 MB, free: 496 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.332e-05/0.005723, allocations: 71.77 kB / 380.5 MB, free: 424 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.737e-05/0.005821, allocations: 31.89 kB / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.005836, allocations: 4 kB / 380.5 MB, free: 388 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.00599, allocations: 107.8 kB / 380.6 MB, free: 280 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.006031, allocations: 23.91 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.006062, allocations: 15.94 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.006288, allocations: 159.5 kB / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.006291, allocations: 3.984 kB / 380.8 MB, free: 76 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006291, allocations: 0 / 380.8 MB, free: 76 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.006295, allocations: 0 / 380.8 MB, free: 76 kB / 346.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.000432/0.006727, allocations: 455.9 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.006761, allocations: 8.031 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.006796, allocations: 12.89 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.006943, allocations: 149 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.006958, allocations: 4.375 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.006973, allocations: 384 / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.007109, allocations: 115.3 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.00712, allocations: 7.953 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.007129, allocations: 4 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.007133, allocations: 0 / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.662e-05/0.00716, allocations: 7.984 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.007399, allocations: 264.4 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.873e-05/0.007488, allocations: 55.05 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.007511, allocations: 15.67 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.007526, allocations: 4 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.672e-05/0.007613, allocations: 69.03 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.007614, allocations: 0 / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003148/0.007929, allocations: 133.4 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.007965, allocations: 81.05 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.008111, allocations: 215.9 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.008126, allocations: 29.7 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.008183, allocations: 146.8 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.008212, allocations: 27.77 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.008251, allocations: 27.38 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.008374, allocations: 0.5 MB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.008395, allocations: 11.94 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.611e-05/0.008441, allocations: 68.73 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.253e-05/0.008493, allocations: 39.36 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.008495, allocations: 4.031 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000116/0.008611, allocations: 89.52 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.008622, allocations: 8 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.008626, allocations: 0 / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.008636, allocations: 0 / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.008698, allocations: 15.98 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.008702, allocations: 7.938 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.008736, allocations: 3.984 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.008744, allocations: 4 kB / 383.3 MB, free: 13.28 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 (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 7.589e-05/0.00882, allocations: 164.5 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.008842, allocations: 19.94 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.00899, allocations: 94.53 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.008994, allocations: 4 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.008996, allocations: 384 / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.008999, allocations: 0 / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.009368, allocations: 365.5 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.00937, allocations: 4 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.009398, allocations: 11.98 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.0094, allocations: 4 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.009406, allocations: 4.031 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.009407, allocations: 0 / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.00941, allocations: 4 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.009558, allocations: 251.4 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.009573, allocations: 15.95 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.00959, allocations: 0 / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.009652, allocations: 7.984 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.009675, allocations: 15.92 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.009685, allocations: 0 / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.717e-05/0.009752, allocations: 158 kB / 384.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009752, allocations: 0 / 384.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.01002, allocations: 63.73 kB / 384.5 MB, free: 12.04 MB / 362.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.001172/0.01119, allocations: 0.5247 MB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.9e-05/0.01129, allocations: 47.59 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01129, allocations: 0 / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.01133, allocations: 27.67 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.01161, allocations: 43.78 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.01191, allocations: 206 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.01195, allocations: 67.34 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.694e-05/0.012, allocations: 21.27 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.872e-05/0.01209, allocations: 90.19 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01209, allocations: 0 / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of Templates: time 0.004684/0.01677, allocations: 2.795 MB / 388.3 MB, free: 8.395 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.99822229007259]