Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.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.001003/0.001003, 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.001113/0.001113, allocations: 169 kB / 24.14 MB, free: 352 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.9319/0.9319, allocations: 158.6 MB / 186 MB, free: 2.75 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.1558/0.1558, 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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.493e-05, allocations: 2.312 kB / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.1346/0.1346, allocations: 2.237 MB / 301.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1367, allocations: 1.464 MB / 302.8 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.1369, allocations: 6.781 kB / 302.8 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.1373, allocations: 143.6 kB / 302.9 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.1377, allocations: 234.9 kB / 303.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.1389, allocations: 0.6032 MB / 303.7 MB, free: 18.79 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006123/0.1395, allocations: 0.5441 MB / 304.3 MB, free: 18.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1397, allocations: 51.8 kB / 304.3 MB, free: 18.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000439/0.1401, allocations: 299 kB / 304.6 MB, free: 18.35 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.1404, allocations: 188.1 kB / 304.8 MB, free: 18.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.1404, allocations: 25.12 kB / 304.8 MB, free: 18.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.1408, allocations: 188.2 kB / 305 MB, free: 18.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.1409, allocations: 128.9 kB / 305.1 MB, free: 18.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.141, allocations: 109.1 kB / 305.2 MB, free: 18.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00071/0.1418, allocations: 458.5 kB / 305.7 MB, free: 17.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.1418, allocations: 0 / 305.7 MB, free: 17.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1418, allocations: 2.562 kB / 305.7 MB, free: 17.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.1418, allocations: 0 / 305.7 MB, free: 17.93 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001002/0.1428, allocations: 0.7781 MB / 306.5 MB, free: 17.28 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1428, allocations: 12.47 kB / 306.5 MB, free: 17.28 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1429, allocations: 40.89 kB / 306.5 MB, free: 17.28 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.1433, allocations: 325.5 kB / 306.8 MB, free: 17.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.1433, allocations: 12.56 kB / 306.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.1434, allocations: 19.08 kB / 306.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.1436, allocations: 178.9 kB / 307 MB, free: 16.92 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1436, allocations: 9.656 kB / 307.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1437, allocations: 8.297 kB / 307.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1437, allocations: 4.125 kB / 307.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.017e-05/0.1437, allocations: 52.92 kB / 307.1 MB, free: 16.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.1443, allocations: 0.5616 MB / 307.7 MB, free: 16.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.1445, allocations: 379.6 kB / 308.1 MB, free: 16.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.1446, allocations: 54.48 kB / 308.1 MB, free: 16.05 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1446, allocations: 4.812 kB / 308.1 MB, free: 16.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.1448, allocations: 173.2 kB / 308.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 2.875e-06/0.1448, allocations: 0 / 308.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003079/0.1452, allocations: 197.2 kB / 308.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.1452, allocations: 134.2 kB / 308.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.1456, allocations: 461.9 kB / 309.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.1456, allocations: 34.5 kB / 309.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/0.1457, allocations: 148.1 kB / 309.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.1457, allocations: 71.41 kB / 309.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.1458, allocations: 62.3 kB / 309.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.1459, allocations: 367.5 kB / 309.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.146, allocations: 27.02 kB / 309.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1461, allocations: 224.7 kB / 310 MB, free: 14.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1462, allocations: 143.4 kB / 310.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.1462, allocations: 5.094 kB / 310.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002436/0.1465, allocations: 186.4 kB / 310.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1465, allocations: 5.781 kB / 310.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1465, allocations: 2.469 kB / 310.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1465, allocations: 3 kB / 310.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.1467, allocations: 54.34 kB / 310.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1467, allocations: 8.484 kB / 310.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1468, allocations: 23.64 kB / 310.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.1468, allocations: 7.625 kB / 310.4 MB, free: 14.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 0.0001174/0.1469, allocations: 157.7 kB / 310.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.147, allocations: 35.25 kB / 310.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.1472, allocations: 189.7 kB / 310.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1472, allocations: 4.188 kB / 310.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1472, allocations: 1.062 kB / 310.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1472, allocations: 3.25 kB / 310.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.1475, allocations: 200.9 kB / 311 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1475, allocations: 1.062 kB / 311 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.321e-05/0.1476, allocations: 42.8 kB / 311 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1476, allocations: 1.406 kB / 311 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1476, allocations: 10.58 kB / 311 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1476, allocations: 2.125 kB / 311 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1476, allocations: 2.422 kB / 311 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.1478, allocations: 220.2 kB / 311.3 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.1479, allocations: 49.06 kB / 311.3 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.1479, allocations: 9.672 kB / 311.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.148, allocations: 12.69 kB / 311.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.1481, allocations: 44.38 kB / 311.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.1481, allocations: 13.62 kB / 311.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002505/0.1483, allocations: 223 kB / 311.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1483, allocations: 0 / 311.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003928/0.1487, allocations: 97.62 kB / 311.7 MB, free: 13.86 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: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001223/0.15, allocations: 0.5577 MB / 312.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.1502, allocations: 125.3 kB / 312.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.1502, allocations: 5.438 kB / 312.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1503, allocations: 87.75 kB / 312.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.1507, allocations: 159.7 kB / 312.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/0.1515, allocations: 0.659 MB / 313.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.697e-05/0.1516, allocations: 127 kB / 313.4 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.1517, allocations: 80.36 kB / 313.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.152, allocations: 153.1 kB / 313.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.152, allocations: 1.125 kB / 313.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of Templates: time 0.01011/0.1621, allocations: 8.255 MB / 321.9 MB, free: 7.051 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.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.228789484128356]