Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.002138, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006353/0.0006353, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008696/0.001505, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9019/0.9019, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1645/1.066, allocations: 52.48 MB / 238.5 MB, free: 7.637 MB / 234.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.1355/0.1355, allocations: 32.79 MB / 272 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02969/0.1652, allocations: 12.54 MB / 284.5 MB, free: 9.723 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 285.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.064e-05, allocations: 9.406 kB / 285.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00248/0.002501, allocations: 1.792 MB / 287.7 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005249/0.00775, allocations: 0.8727 MB / 288.6 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.00782, allocations: 4 kB / 288.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.008006, allocations: 43.7 kB / 288.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.008168, allocations: 63.62 kB / 288.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.008436, allocations: 107.5 kB / 288.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.008594, allocations: 99.64 kB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.905e-05/0.008673, allocations: 8.172 kB / 288.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.008804, allocations: 79.81 kB / 289 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.341e-05/0.008878, allocations: 19.92 kB / 289 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.008896, allocations: 8 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.008992, allocations: 47.86 kB / 289.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.009036, allocations: 19.92 kB / 289.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.009067, allocations: 15.94 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.00923, allocations: 99.59 kB / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.009241, allocations: 0 / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.009241, allocations: 0 / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.00925, allocations: 0 / 289.2 MB, free: 5.039 MB / 282.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.0004252/0.009675, allocations: 335.8 kB / 289.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.009706, allocations: 12.03 kB / 289.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.009739, allocations: 4.938 kB / 289.6 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.009892, allocations: 144.2 kB / 289.7 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.009909, allocations: 8.375 kB / 289.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.009928, allocations: 4.359 kB / 289.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.01003, allocations: 65.75 kB / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.01004, allocations: 3.938 kB / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.01005, allocations: 4 kB / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.01006, allocations: 0 / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.69e-05/0.01009, allocations: 15.94 kB / 289.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.0133, allocations: 161.9 kB / 290 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.0134, allocations: 93.34 kB / 290 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.01342, allocations: 16.84 kB / 290.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.01343, allocations: 0 / 290.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.01353, allocations: 66.09 kB / 290.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.01354, allocations: 0 / 290.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003031/0.01384, allocations: 117.5 kB / 290.2 MB, free: 3.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.01387, allocations: 51.41 kB / 290.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.01398, allocations: 173 kB / 290.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.014, allocations: 29.7 kB / 290.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.01403, allocations: 104 kB / 290.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.01406, allocations: 27.78 kB / 290.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.0141, allocations: 25.7 kB / 290.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.01418, allocations: 322.8 kB / 291 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.22e-05/0.0142, allocations: 10.83 kB / 291 MB, free: 3.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.01423, allocations: 25.7 kB / 291 MB, free: 3.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.985e-05/0.01427, allocations: 40.45 kB / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.01428, allocations: 0 / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.689e-05/0.01436, allocations: 68.52 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.01438, allocations: 15.97 kB / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.01438, allocations: 80 / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.01439, allocations: 0 / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.283e-05/0.01446, allocations: 23.98 kB / 291.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.01447, allocations: 3.984 kB / 291.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.0145, allocations: 0 / 291.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.0145, allocations: 4 kB / 291.1 MB, free: 2.922 MB / 282.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.584e-05/0.01457, allocations: 116.7 kB / 291.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.01459, allocations: 11.92 kB / 291.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.01469, allocations: 79.06 kB / 291.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.0147, allocations: 8 kB / 291.4 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.0147, allocations: 0 / 291.4 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.0147, allocations: 0 / 291.4 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.01493, allocations: 287.4 kB / 291.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01493, allocations: 4.375 kB / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.01496, allocations: 8 kB / 291.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.01497, allocations: 15.89 kB / 291.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01498, allocations: 0 / 291.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.01499, allocations: 12 kB / 291.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01499, allocations: 0 / 291.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.01499, allocations: 7.969 kB / 291.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.01511, allocations: 211 kB / 291.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.01513, allocations: 11.98 kB / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.561e-05/0.01518, allocations: 0 / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.01521, allocations: 11.92 kB / 291.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01522, allocations: 4 kB / 291.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.057e-05/0.01527, allocations: 48.36 kB / 292 MB, free: 2.035 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01527, allocations: 3.938 kB / 292 MB, free: 2.031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000208/0.01548, allocations: 27.92 kB / 292 MB, free: 2.004 MB / 282.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.001552/0.01703, allocations: 0.6292 MB / 292.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.01716, allocations: 44.78 kB / 292.7 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/0.01717, allocations: 0 / 292.7 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.117e-05/0.01722, allocations: 49.02 kB / 292.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.01746, allocations: 186.2 kB / 292.9 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.01789, allocations: 227.1 kB / 293.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.01793, allocations: 63.34 kB / 293.2 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.453e-05/0.01796, allocations: 20.48 kB / 293.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.01803, allocations: 67.45 kB / 293.3 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01803, allocations: 4 kB / 293.3 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of Templates: time 0.003574/0.0216, allocations: 2.015 MB / 295.3 MB, free: 14.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8388356771320105]