Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.0009629/0.0009629, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001104/0.001104, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2649/0.2649, allocations: 32.8 MB / 294.6 MB, free: 1.164 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 323.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.811e-05, allocations: 7.188 kB / 323.4 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003613/0.003641, allocations: 1.819 MB / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.005352, allocations: 1.009 MB / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.005441, allocations: 3.938 kB / 326.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.00583, allocations: 111.5 kB / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.006215, allocations: 119.5 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.006459, allocations: 87.59 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.006686, allocations: 131.5 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.006797, allocations: 11.97 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.006942, allocations: 71.75 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.007071, allocations: 59.88 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.007091, allocations: 4 kB / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.007224, allocations: 63.91 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.007292, allocations: 27.86 kB / 326.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.007339, allocations: 23.91 kB / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.007579, allocations: 123.5 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.007583, allocations: 0 / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007584, allocations: 0 / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.007589, allocations: 0 / 327 MB, free: 5.879 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004767/0.008066, allocations: 349.1 kB / 327.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.008128, allocations: 8.031 kB / 327.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.008192, allocations: 16.92 kB / 327.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.008443, allocations: 153.5 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.008469, allocations: 4.375 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.0085, allocations: 8.359 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.008666, allocations: 65.75 kB / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.008682, allocations: 3.938 kB / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.008693, allocations: 4 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.008703, allocations: 7.938 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.00875, allocations: 15.92 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.009169, allocations: 181.8 kB / 327.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.009386, allocations: 89.3 kB / 327.9 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.009412, allocations: 12.86 kB / 327.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.009427, allocations: 0 / 327.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.009554, allocations: 78.27 kB / 328 MB, free: 4.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.009555, allocations: 4 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005656/0.01012, allocations: 157.5 kB / 328.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.01016, allocations: 51.41 kB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.01034, allocations: 220.3 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.01036, allocations: 25.7 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.01042, allocations: 100.1 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.01047, allocations: 35.69 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.01051, allocations: 29.69 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.01064, allocations: 326.8 kB / 328.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.834e-05/0.01067, allocations: 14.83 kB / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.563e-05/0.01071, allocations: 33.69 kB / 329 MB, free: 3.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.047e-05/0.01079, allocations: 57.2 kB / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.01079, allocations: 0 / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001362/0.01093, allocations: 85.53 kB / 329.1 MB, free: 3.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.01095, allocations: 4 kB / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.01096, allocations: 3.984 kB / 329.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.01097, allocations: 0 / 329.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/0.01105, allocations: 20 kB / 329.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.01106, allocations: 0 / 329.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.01111, allocations: 11.98 kB / 329.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.01111, allocations: 4 kB / 329.2 MB, free: 3.562 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 (13): * Single equations (assignments): 13 * 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 8.9e-05/0.0112, allocations: 124.5 kB / 329.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.01123, allocations: 16.02 kB / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.01139, allocations: 93.73 kB / 329.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01139, allocations: 4 kB / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.0114, allocations: 0 / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.0114, allocations: 0 / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.01176, allocations: 332.1 kB / 329.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01176, allocations: 4 kB / 329.7 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.01181, allocations: 15.98 kB / 329.7 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.01182, allocations: 3.984 kB / 329.7 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01183, allocations: 12.06 kB / 329.7 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.01183, allocations: 3.984 kB / 329.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.01184, allocations: 3.938 kB / 329.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.01204, allocations: 227.9 kB / 330 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.01206, allocations: 11.91 kB / 330 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.01208, allocations: 8 kB / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.01216, allocations: 3.984 kB / 330 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.0122, allocations: 7.984 kB / 330 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.01222, allocations: 11.94 kB / 330 MB, free: 2.625 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.032e-05/0.0123, allocations: 68.88 kB / 330.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0123, allocations: 7.938 kB / 330.1 MB, free: 2.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002943/0.01259, allocations: 31.92 kB / 330.1 MB, free: 2.516 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002156/0.01475, allocations: 0.6434 MB / 330.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.01489, allocations: 48.78 kB / 330.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.0149, allocations: 4 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.829e-05/0.01496, allocations: 40.72 kB / 330.9 MB, free: 2.113 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.01526, allocations: 38.28 kB / 330.9 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.01578, allocations: 265.8 kB / 331.2 MB, free: 1.785 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.577e-05/0.01585, allocations: 83.27 kB / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.036e-05/0.01591, allocations: 16.62 kB / 331.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/0.016, allocations: 71.36 kB / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.016, allocations: 0 / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of Templates: time 0.004963/0.02097, allocations: 2.314 MB / 333.6 MB, free: 15.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.0663445717655122]