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.001494/0.001494, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001865/0.001865, allocations: 169 kB / 24.14 MB, free: 368 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.877/0.877, allocations: 158.6 MB / 186 MB, free: 2.766 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.1477/0.1477, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.583e-06/1.583e-06, allocations: 0 / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.476e-05, allocations: 2.312 kB / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003472/0.003496, allocations: 1.867 MB / 301 MB, free: 256 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1278/0.1313, allocations: 0.8941 MB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.1314, allocations: 1.438 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.1319, allocations: 254.5 kB / 302.2 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.1322, allocations: 184.3 kB / 302.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.1325, allocations: 155.9 kB / 302.5 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.1328, allocations: 251.5 kB / 302.7 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.1329, allocations: 18.14 kB / 302.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.1331, allocations: 142.8 kB / 302.9 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.1333, allocations: 155.6 kB / 303 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.1333, allocations: 7.25 kB / 303 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.158e-05/0.1334, allocations: 48.7 kB / 303.1 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/0.1335, allocations: 66.36 kB / 303.2 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.1335, allocations: 42.69 kB / 303.2 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1338, allocations: 178.5 kB / 303.4 MB, free: 19.03 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1338, allocations: 2 kB / 303.4 MB, free: 19.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1338, allocations: 0 / 303.4 MB, free: 19.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1338, allocations: 0.5625 kB / 303.4 MB, free: 19.03 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.0004326/0.1342, allocations: 475.1 kB / 303.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.1342, allocations: 8.875 kB / 303.9 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.1343, allocations: 19.27 kB / 303.9 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.1345, allocations: 213.9 kB / 304.1 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1345, allocations: 7.109 kB / 304.1 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.1345, allocations: 6.375 kB / 304.1 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.1346, allocations: 105.1 kB / 304.2 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1346, allocations: 9.703 kB / 304.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1346, allocations: 1.25 kB / 304.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1347, allocations: 1.906 kB / 304.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.902e-05/0.1347, allocations: 26.08 kB / 304.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.1349, allocations: 285.3 kB / 304.5 MB, free: 18.17 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.135, allocations: 171.5 kB / 304.7 MB, free: 18.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.1351, allocations: 27.03 kB / 304.7 MB, free: 18.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1351, allocations: 3.359 kB / 304.7 MB, free: 18.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.1352, allocations: 107.9 kB / 304.8 MB, free: 17.94 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.1352, allocations: 0 / 304.8 MB, free: 17.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003811/0.1356, allocations: 208.7 kB / 305 MB, free: 17.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.1356, allocations: 80.3 kB / 305.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.1358, allocations: 340.4 kB / 305.4 MB, free: 17.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1358, allocations: 32.83 kB / 305.5 MB, free: 17.63 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.1359, allocations: 118.4 kB / 305.6 MB, free: 17.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1359, allocations: 55.69 kB / 305.6 MB, free: 17.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.1359, allocations: 37.2 kB / 305.7 MB, free: 17.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.136, allocations: 346 kB / 306 MB, free: 17.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.136, allocations: 21.78 kB / 306 MB, free: 17.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.136, allocations: 45.88 kB / 306.1 MB, free: 17.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.44e-05/0.1361, allocations: 88.2 kB / 306.2 MB, free: 17.1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1361, allocations: 1.438 kB / 306.2 MB, free: 17.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001261/0.1362, allocations: 123.1 kB / 306.3 MB, free: 17.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1363, allocations: 11.02 kB / 306.3 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1363, allocations: 0.9375 kB / 306.3 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1363, allocations: 1.875 kB / 306.3 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.1364, allocations: 28.84 kB / 306.3 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1364, allocations: 9.828 kB / 306.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.1364, allocations: 9.297 kB / 306.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1364, allocations: 4.156 kB / 306.3 MB, free: 17.04 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.001e-05/0.1365, allocations: 128.5 kB / 306.5 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.1365, allocations: 20.95 kB / 306.5 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.1366, allocations: 130.5 kB / 306.6 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1366, allocations: 2.719 kB / 306.6 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1366, allocations: 1.469 kB / 306.6 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1367, allocations: 4.562 kB / 306.6 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.137, allocations: 0.5066 MB / 307.1 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.137, allocations: 1.922 kB / 307.1 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.137, allocations: 21.05 kB / 307.2 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.137, allocations: 1.406 kB / 307.2 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.137, allocations: 7.672 kB / 307.2 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.137, allocations: 3.172 kB / 307.2 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.137, allocations: 0 / 307.2 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.1372, allocations: 383 kB / 307.5 MB, free: 16.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.1372, allocations: 24.22 kB / 307.6 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.1372, allocations: 8.984 kB / 307.6 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.1373, allocations: 8.562 kB / 307.6 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.1373, allocations: 17.12 kB / 307.6 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.1373, allocations: 10.14 kB / 307.6 MB, free: 16.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1374, allocations: 152.7 kB / 307.8 MB, free: 16.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1374, allocations: 1.5 kB / 307.8 MB, free: 16.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.1377, allocations: 39.92 kB / 307.8 MB, free: 16.11 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.001169/0.1388, allocations: 0.5901 MB / 308.4 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.1389, allocations: 76.52 kB / 308.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.1389, allocations: 2.312 kB / 308.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/0.139, allocations: 53.92 kB / 308.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.1393, allocations: 70.17 kB / 308.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.1398, allocations: 444.5 kB / 309 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.977e-05/0.1398, allocations: 94.14 kB / 309.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.496e-05/0.1399, allocations: 40.45 kB / 309.2 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/0.14, allocations: 88.69 kB / 309.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.14, allocations: 0 / 309.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Templates: time 0.004971/0.145, allocations: 3.19 MB / 312.4 MB, free: 14.5 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 -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.036893591750413]