Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.00134/0.00134, allocations: 79.92 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.001379/0.001379, allocations: 169 kB / 24.14 MB, free: 364 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.9461/0.9461, allocations: 158.6 MB / 186 MB, free: 2.773 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.1377/0.1377, allocations: 32.37 MB / 270.7 MB, free: 14.62 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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 299.2 MB, free: 2.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.917e-05, allocations: 6.312 kB / 299.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003331/0.00336, allocations: 1.907 MB / 301.1 MB, free: 172 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1372/0.1405, allocations: 0.8947 MB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.667e-05/0.1406, allocations: 2.062 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.141, allocations: 161.5 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.1413, allocations: 134.8 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.1417, allocations: 155 kB / 302.4 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.142, allocations: 218.7 kB / 302.6 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.1421, allocations: 12.38 kB / 302.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.1423, allocations: 130.4 kB / 302.8 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.1425, allocations: 106.2 kB / 302.9 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.1425, allocations: 7.5 kB / 302.9 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1426, allocations: 45.19 kB / 302.9 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.1427, allocations: 54.72 kB / 303 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.1427, allocations: 40.7 kB / 303 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.143, allocations: 156.9 kB / 303.2 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.143, allocations: 0 / 303.2 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.143, allocations: 0.5938 kB / 303.2 MB, free: 19.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.143, allocations: 0 / 303.2 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.0004109/0.1434, allocations: 435.3 kB / 303.6 MB, free: 18.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1434, allocations: 9 kB / 303.6 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.1435, allocations: 17.41 kB / 303.6 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1437, allocations: 193.1 kB / 303.8 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1437, allocations: 5 kB / 303.8 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1437, allocations: 8.438 kB / 303.8 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1439, allocations: 102.1 kB / 303.9 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1439, allocations: 5.281 kB / 303.9 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1439, allocations: 1.656 kB / 303.9 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1439, allocations: 2.219 kB / 303.9 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.1439, allocations: 22.84 kB / 304 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.1442, allocations: 283.7 kB / 304.2 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1443, allocations: 171.6 kB / 304.4 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.1443, allocations: 27.61 kB / 304.4 MB, free: 18.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.1443, allocations: 2.719 kB / 304.4 MB, free: 18.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.1445, allocations: 114 kB / 304.6 MB, free: 17.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.1445, allocations: 3.812 kB / 304.6 MB, free: 17.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004741/0.1449, allocations: 202.5 kB / 304.8 MB, free: 17.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.145, allocations: 79 kB / 304.8 MB, free: 17.81 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.1452, allocations: 282 kB / 305.1 MB, free: 17.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1453, allocations: 28.56 kB / 305.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.1453, allocations: 108.3 kB / 305.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.1454, allocations: 55.38 kB / 305.3 MB, free: 17.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.1454, allocations: 34.3 kB / 305.3 MB, free: 17.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.1455, allocations: 339.5 kB / 305.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.795e-05/0.1456, allocations: 19.64 kB / 305.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.1456, allocations: 51.73 kB / 305.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1457, allocations: 86.12 kB / 305.8 MB, free: 17.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1457, allocations: 0.7812 kB / 305.8 MB, free: 17.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001254/0.147, allocations: 120.6 kB / 305.9 MB, free: 17.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.147, allocations: 5.531 kB / 305.9 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.147, allocations: 1.094 kB / 305.9 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.147, allocations: 2.969 kB / 305.9 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1472, allocations: 33.77 kB / 306 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1472, allocations: 3.125 kB / 306 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.1473, allocations: 12.22 kB / 306 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1473, allocations: 11.03 kB / 306 MB, free: 17.07 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 9.53e-05/0.1474, allocations: 124 kB / 306.1 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.1474, allocations: 18.19 kB / 306.1 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.1477, allocations: 126.5 kB / 306.3 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1477, allocations: 2.469 kB / 306.3 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1477, allocations: 2.125 kB / 306.3 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1477, allocations: 0.7031 kB / 306.3 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.1482, allocations: 0.4944 MB / 306.8 MB, free: 16.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.1482, allocations: 5.219 kB / 306.8 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.1483, allocations: 20.02 kB / 306.8 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1483, allocations: 5 kB / 306.8 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1483, allocations: 8.203 kB / 306.8 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1483, allocations: 2.875 kB / 306.8 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1483, allocations: 1.156 kB / 306.8 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.1485, allocations: 378.2 kB / 307.2 MB, free: 16.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.1486, allocations: 21.08 kB / 307.2 MB, free: 16.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.1486, allocations: 7.438 kB / 307.2 MB, free: 16.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.1487, allocations: 13.27 kB / 307.2 MB, free: 16.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.1488, allocations: 15.28 kB / 307.2 MB, free: 16.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.1488, allocations: 9.922 kB / 307.2 MB, free: 16.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.149, allocations: 109.3 kB / 307.3 MB, free: 16.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.149, allocations: 0 / 307.3 MB, free: 16.15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.1493, allocations: 39.94 kB / 307.4 MB, free: 16.15 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.001799/0.1511, allocations: 0.5924 MB / 308 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1513, allocations: 80.56 kB / 308.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.1513, allocations: 2.531 kB / 308.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.569e-05/0.1514, allocations: 53.02 kB / 308.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.1519, allocations: 53.19 kB / 308.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/0.1526, allocations: 395.8 kB / 308.5 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.291e-05/0.1527, allocations: 85.48 kB / 308.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.1528, allocations: 32.23 kB / 308.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.1529, allocations: 88.7 kB / 308.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1529, allocations: 1.062 kB / 308.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of Templates: time 0.008378/0.1613, allocations: 3.172 MB / 311.9 MB, free: 14.7 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.0721271000802517]