Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001434/0.001434, 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.001645/0.001645, 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.9581/0.9581, 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.1457/0.1457, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 299.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.846e-05/4.044e-05, allocations: 2.312 kB / 299.2 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002964/0.003004, allocations: 1.86 MB / 301 MB, free: 260 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1374/0.1404, allocations: 0.8925 MB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.1405, allocations: 3.938 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005626/0.1411, allocations: 249.6 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.1414, allocations: 190.1 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.1418, allocations: 147.5 kB / 302.5 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.1423, allocations: 253.2 kB / 302.7 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1424, allocations: 15.91 kB / 302.7 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.1426, allocations: 147.4 kB / 302.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.1429, allocations: 158.3 kB / 303 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.1429, allocations: 7.312 kB / 303.1 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.143, allocations: 48.19 kB / 303.1 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.1431, allocations: 66.02 kB / 303.2 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.1432, allocations: 43.12 kB / 303.2 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.1434, allocations: 178.6 kB / 303.4 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1434, allocations: 0.5938 kB / 303.4 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1434, allocations: 2.031 kB / 303.4 MB, free: 19.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1434, allocations: 0 / 303.4 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.000492/0.1439, allocations: 471.8 kB / 303.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1439, allocations: 10.09 kB / 303.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.144, allocations: 18.86 kB / 303.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1442, allocations: 218.5 kB / 304.1 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1442, allocations: 2.781 kB / 304.1 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.1443, allocations: 8.953 kB / 304.1 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1444, allocations: 100.7 kB / 304.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1444, allocations: 10.39 kB / 304.2 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.1444, allocations: 4.031 kB / 304.2 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1444, allocations: 2.281 kB / 304.2 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.1445, allocations: 25.77 kB / 304.2 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.1448, allocations: 280.2 kB / 304.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1449, allocations: 175.8 kB / 304.7 MB, free: 18.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.1449, allocations: 31.44 kB / 304.7 MB, free: 18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1449, allocations: 2.344 kB / 304.7 MB, free: 18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.1451, allocations: 105.1 kB / 304.8 MB, free: 17.92 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.021e-06/0.1451, allocations: 0 / 304.8 MB, free: 17.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004196/0.1455, allocations: 204.9 kB / 305 MB, free: 17.87 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.1455, allocations: 85.17 kB / 305.1 MB, free: 17.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.1458, allocations: 343.7 kB / 305.4 MB, free: 17.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1458, allocations: 28.02 kB / 305.5 MB, free: 17.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.1458, allocations: 125.2 kB / 305.6 MB, free: 17.53 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.1459, allocations: 52.86 kB / 305.6 MB, free: 17.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.1459, allocations: 34.75 kB / 305.7 MB, free: 17.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.146, allocations: 345.3 kB / 306 MB, free: 17.17 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.146, allocations: 21.38 kB / 306 MB, free: 17.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-05/0.1461, allocations: 47.83 kB / 306.1 MB, free: 17.13 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.726e-05/0.1462, allocations: 87.5 kB / 306.2 MB, free: 17.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1462, allocations: 0.5 kB / 306.2 MB, free: 17.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000171/0.1464, allocations: 121.7 kB / 306.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1464, allocations: 5.781 kB / 306.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1464, allocations: 4.344 kB / 306.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1464, allocations: 2.188 kB / 306.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1465, allocations: 31.94 kB / 306.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1465, allocations: 2.125 kB / 306.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.1466, allocations: 13.55 kB / 306.3 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1466, allocations: 3.781 kB / 306.3 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 8.745e-05/0.1467, allocations: 132.4 kB / 306.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.013e-05/0.1467, allocations: 21.45 kB / 306.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.1469, allocations: 124.3 kB / 306.6 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1469, allocations: 2.875 kB / 306.6 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.147, allocations: 5.156 kB / 306.6 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.147, allocations: 2.109 kB / 306.6 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/0.1473, allocations: 0.506 MB / 307.1 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1473, allocations: 2.125 kB / 307.1 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.1474, allocations: 22.25 kB / 307.2 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1474, allocations: 2.031 kB / 307.2 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1474, allocations: 7.703 kB / 307.2 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1474, allocations: 2.312 kB / 307.2 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1474, allocations: 1.219 kB / 307.2 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.1476, allocations: 384.3 kB / 307.5 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.1477, allocations: 25.12 kB / 307.6 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.1477, allocations: 8.281 kB / 307.6 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.1478, allocations: 9.328 kB / 307.6 MB, free: 16.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.1478, allocations: 19.66 kB / 307.6 MB, free: 16.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1478, allocations: 7.391 kB / 307.6 MB, free: 16.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.148, allocations: 154.1 kB / 307.8 MB, free: 16.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.148, allocations: 0 / 307.8 MB, free: 16.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.1482, allocations: 41.31 kB / 307.8 MB, free: 16.1 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.001286/0.1494, allocations: 0.6027 MB / 308.4 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.1496, allocations: 76.16 kB / 308.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.1496, allocations: 2.531 kB / 308.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.746e-05/0.1497, allocations: 54.02 kB / 308.5 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1501, allocations: 61.03 kB / 308.6 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006766/0.1508, allocations: 452.8 kB / 309 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.623e-05/0.1508, allocations: 98.2 kB / 309.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.311e-05/0.1509, allocations: 36.45 kB / 309.2 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.485e-05/0.151, allocations: 83.66 kB / 309.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.151, allocations: 0 / 309.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Templates: time 0.006404/0.1574, allocations: 3.196 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.Test78.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.1516829379834235]