Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.0009146/0.0009146, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009358/0.0009358, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.051/1.051, allocations: 177.1 MB / 206 MB, free: 4.504 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.1708/0.1708, allocations: 34.26 MB / 296.8 MB, free: 13.96 MB / 282.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 379.4 MB, free: 23.36 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.463e-05, allocations: 6.25 kB / 379.4 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002297/0.002322, allocations: 1.757 MB / 381.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.00351, allocations: 0.9858 MB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.817e-05/0.003609, allocations: 4 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.003933, allocations: 51.73 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.004226, allocations: 107.4 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.004419, allocations: 91.59 kB / 382.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.004566, allocations: 99.69 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.004653, allocations: 11.98 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.96e-05/0.004733, allocations: 51.78 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.0048, allocations: 27.91 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.004815, allocations: 4 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.897e-05/0.004894, allocations: 47.91 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.004943, allocations: 31.86 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.004974, allocations: 19.88 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.005129, allocations: 111.6 kB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005131, allocations: 7.938 kB / 382.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005132, allocations: 0 / 382.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.005136, allocations: 0 / 382.8 MB, free: 19.94 MB / 314.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.0003697/0.005506, allocations: 483.5 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.005542, allocations: 8.031 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.005585, allocations: 16.84 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.005725, allocations: 165.3 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.005741, allocations: 384 / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.005756, allocations: 4.375 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.443e-05/0.005851, allocations: 58.94 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.005861, allocations: 7.938 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.005869, allocations: 7.938 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.005874, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.325e-05/0.005897, allocations: 7.984 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.006101, allocations: 268.4 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.109e-05/0.006182, allocations: 51.16 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.006201, allocations: 19.61 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.006211, allocations: 0 / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.169e-05/0.006293, allocations: 68.98 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.006294, allocations: 4 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002886/0.006582, allocations: 141.5 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.0066, allocations: 51.41 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.006696, allocations: 269.6 kB / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.006706, allocations: 29.7 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.006746, allocations: 166.8 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.006768, allocations: 31.77 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.006797, allocations: 27.38 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.006845, allocations: 0.5001 MB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.00686, allocations: 8 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.006884, allocations: 43.28 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.006924, allocations: 47.42 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.006924, allocations: 384 / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.554e-05/0.00701, allocations: 97.41 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.007021, allocations: 4 kB / 385.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.007026, allocations: 4 kB / 385.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.007036, allocations: 3.938 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.007098, allocations: 19.98 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.007101, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.00713, allocations: 12.03 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.007135, allocations: 0 / 385.4 MB, free: 17.13 MB / 314.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.193e-05/0.007187, allocations: 164.5 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.007203, allocations: 19.84 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.007324, allocations: 99.12 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.007326, allocations: 0 / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.007329, allocations: 7.922 kB / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.007332, allocations: 0 / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.007546, allocations: 369.6 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.007548, allocations: 7.969 kB / 386 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.007574, allocations: 8 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.007577, allocations: 7.984 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.007583, allocations: 0 / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007585, allocations: 0 / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007586, allocations: 0 / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.00769, allocations: 259.7 kB / 386.3 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.007703, allocations: 15.91 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.007719, allocations: 4 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.1e-05/0.00776, allocations: 0 / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.007784, allocations: 7.984 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.007796, allocations: 12 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.295e-05/0.007849, allocations: 184.5 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.00785, allocations: 0 / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.008029, allocations: 27.94 kB / 386.5 MB, free: 15.88 MB / 314.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.0009495/0.008979, allocations: 437.1 kB / 387 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.009081, allocations: 55.52 kB / 387 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009083, allocations: 3.938 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.18e-05/0.009114, allocations: 31.73 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.009349, allocations: 46.38 kB / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.009629, allocations: 260.4 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.00966, allocations: 79.19 kB / 387.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.182e-05/0.009692, allocations: 16.97 kB / 387.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.009746, allocations: 86.19 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.009747, allocations: 0 / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of Templates: time 0.003538/0.01329, allocations: 2.077 MB / 389.6 MB, free: 12.95 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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: 3.2903113439679146]