Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.0009542/0.0009542, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.000986/0.000986, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9945/0.9945, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1554/0.1554, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 299.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.467e-05, allocations: 2.312 kB / 299.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002339/0.002353, allocations: 1.903 MB / 301.1 MB, free: 160 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1338/0.1362, allocations: 0.8963 MB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.883e-05/0.1362, allocations: 2.219 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.1367, allocations: 253.8 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.1371, allocations: 180.3 kB / 302.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.1374, allocations: 160.2 kB / 302.6 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.1376, allocations: 248.8 kB / 302.8 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.119e-05/0.1377, allocations: 16.42 kB / 302.8 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.1379, allocations: 143.1 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1381, allocations: 158.6 kB / 303.1 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1381, allocations: 6.781 kB / 303.1 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.744e-05/0.1382, allocations: 48.28 kB / 303.2 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.1383, allocations: 68.2 kB / 303.2 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.1383, allocations: 42.91 kB / 303.3 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1386, allocations: 177.8 kB / 303.5 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1386, allocations: 4.219 kB / 303.5 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1386, allocations: 0.7812 kB / 303.5 MB, free: 19.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1386, allocations: 0 / 303.5 MB, free: 19.02 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004325/0.139, allocations: 469.5 kB / 303.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.139, allocations: 10.56 kB / 303.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.1391, allocations: 20.91 kB / 304 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.1393, allocations: 218.2 kB / 304.2 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1393, allocations: 3.484 kB / 304.2 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.1393, allocations: 10.67 kB / 304.2 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1395, allocations: 104 kB / 304.3 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1395, allocations: 6.234 kB / 304.3 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1395, allocations: 5.344 kB / 304.3 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.1395, allocations: 1.844 kB / 304.3 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.239e-05/0.1396, allocations: 23.27 kB / 304.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.1399, allocations: 283.8 kB / 304.6 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.14, allocations: 174.9 kB / 304.8 MB, free: 18.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.14, allocations: 22.28 kB / 304.8 MB, free: 18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.14, allocations: 4.391 kB / 304.8 MB, free: 18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.1402, allocations: 109.8 kB / 304.9 MB, free: 17.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.1402, allocations: 0 / 304.9 MB, free: 17.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003833/0.1405, allocations: 211.4 kB / 305.1 MB, free: 17.87 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.1406, allocations: 83.66 kB / 305.2 MB, free: 17.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1408, allocations: 342.7 kB / 305.5 MB, free: 17.65 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.1408, allocations: 28.55 kB / 305.6 MB, free: 17.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.1408, allocations: 120.8 kB / 305.7 MB, free: 17.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.1409, allocations: 51.98 kB / 305.7 MB, free: 17.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.1409, allocations: 38.19 kB / 305.8 MB, free: 17.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.74e-05/0.141, allocations: 345.3 kB / 306.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.141, allocations: 17.66 kB / 306.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.141, allocations: 45.75 kB / 306.2 MB, free: 17.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.487e-05/0.1411, allocations: 97.2 kB / 306.3 MB, free: 17.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1411, allocations: 0 / 306.3 MB, free: 17.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001299/0.1412, allocations: 121.7 kB / 306.4 MB, free: 17.03 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1413, allocations: 6.172 kB / 306.4 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1413, allocations: 1.156 kB / 306.4 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1413, allocations: 1.188 kB / 306.4 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.1414, allocations: 31.19 kB / 306.4 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1414, allocations: 7.453 kB / 306.4 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.1414, allocations: 10.44 kB / 306.4 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1414, allocations: 7.406 kB / 306.4 MB, free: 17.03 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.677e-05/0.1415, allocations: 126.7 kB / 306.6 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.1415, allocations: 21.38 kB / 306.6 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.1417, allocations: 128.9 kB / 306.7 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1417, allocations: 2.156 kB / 306.7 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1417, allocations: 1.938 kB / 306.7 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1417, allocations: 4.578 kB / 306.7 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.1421, allocations: 0.5099 MB / 307.2 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1421, allocations: 1.922 kB / 307.2 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.1421, allocations: 19 kB / 307.2 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.1422, allocations: 3.062 kB / 307.2 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1422, allocations: 3.766 kB / 307.3 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1422, allocations: 1.5 kB / 307.3 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1422, allocations: 2.062 kB / 307.3 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.1424, allocations: 378.8 kB / 307.6 MB, free: 16.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.1424, allocations: 33.88 kB / 307.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.1424, allocations: 7.203 kB / 307.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.1425, allocations: 9.109 kB / 307.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.1426, allocations: 20.34 kB / 307.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1426, allocations: 5.984 kB / 307.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.1427, allocations: 153.6 kB / 307.8 MB, free: 16.06 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1427, allocations: 1.281 kB / 307.9 MB, free: 16.06 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.143, allocations: 41.41 kB / 307.9 MB, free: 16.05 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001184/0.1441, allocations: 0.5971 MB / 308.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1443, allocations: 82.38 kB / 308.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.485e-06/0.1443, allocations: 3.438 kB / 308.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.999e-05/0.1443, allocations: 49.92 kB / 308.6 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.1447, allocations: 62.69 kB / 308.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.1452, allocations: 452.4 kB / 309.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.894e-05/0.1453, allocations: 99.56 kB / 309.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.124e-05/0.1454, allocations: 35.3 kB / 309.3 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.423e-05/0.1455, allocations: 84.66 kB / 309.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1455, allocations: 1.438 kB / 309.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of Templates: time 0.005502/0.151, allocations: 3.192 MB / 312.5 MB, free: 14.4 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.1931153209879994]