Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 121 kB / 18.42 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2086/0.2086, allocations: 46.11 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 75.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1151, allocations: 62.46 MB / 481.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004258/0.1194, allocations: 2.314 MB / 483.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003155/0.1226, allocations: 1.684 MB / 485.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/0.123, allocations: 4 kB / 485.5 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005546/0.1236, allocations: 143.2 kB / 485.6 MB, free: 344 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008535/0.1245, allocations: 298.7 kB / 485.9 MB, free: 44 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.1262, allocations: 0.5212 MB / 486.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009021/0.1271, allocations: 0.5727 MB / 487 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.1273, allocations: 77.06 kB / 487.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.1276, allocations: 235 kB / 487.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.1279, allocations: 223 kB / 487.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.128, allocations: 28 kB / 487.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.1284, allocations: 175.8 kB / 487.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.1286, allocations: 135.5 kB / 487.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.1288, allocations: 202.7 kB / 488 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007202/0.1295, allocations: 0.5957 MB / 488.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1295, allocations: 0 / 488.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1295, allocations: 0 / 488.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1296, allocations: 4 kB / 488.6 MB, free: 13.29 MB / 366.1 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.00132/0.1309, allocations: 0.9097 MB / 489.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1309, allocations: 12.03 kB / 489.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.1311, allocations: 56.28 kB / 489.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.1318, allocations: 480 kB / 490.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.1318, allocations: 8.609 kB / 490.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.1318, allocations: 20.12 kB / 490.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.1323, allocations: 264.9 kB / 490.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1323, allocations: 3.938 kB / 490.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.1323, allocations: 7.984 kB / 490.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1323, allocations: 0 / 490.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.1326, allocations: 111.9 kB / 490.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.1338, allocations: 0.8874 MB / 491.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.1344, allocations: 294.6 kB / 491.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.1347, allocations: 115.3 kB / 491.8 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.1347, allocations: 4 kB / 491.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003907/0.1351, allocations: 226.4 kB / 492 MB, free: 9.637 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.823e-06/0.1351, allocations: 0 / 492 MB, free: 9.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.00091/0.136, allocations: 404.7 kB / 492.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.1362, allocations: 346.1 kB / 492.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007435/0.137, allocations: 0.667 MB / 493.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.137, allocations: 33.7 kB / 493.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.1372, allocations: 236.5 kB / 493.7 MB, free: 7.867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.957e-05/0.1373, allocations: 71.22 kB / 493.7 MB, free: 7.797 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.1374, allocations: 61.69 kB / 493.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1375, allocations: 366.8 kB / 494.2 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.1377, allocations: 84.95 kB / 494.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.138, allocations: 241 kB / 494.5 MB, free: 6.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.1385, allocations: 234.8 kB / 494.7 MB, free: 6.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1385, allocations: 3.938 kB / 494.7 MB, free: 6.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006305/0.1391, allocations: 316.8 kB / 495 MB, free: 6.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1392, allocations: 8 kB / 495 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1392, allocations: 0 / 495 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.1392, allocations: 7.938 kB / 495 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.1395, allocations: 51.91 kB / 495.1 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1395, allocations: 4.25 kB / 495.1 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.1397, allocations: 43.83 kB / 495.1 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.1398, allocations: 12 kB / 495.2 MB, free: 6.285 MB / 366.1 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.0002642/0.14, allocations: 217.7 kB / 495.4 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.1401, allocations: 55.34 kB / 495.4 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1402, allocations: 60.25 kB / 495.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.1402, allocations: 7.938 kB / 495.5 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1403, allocations: 0 / 495.5 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1403, allocations: 3.984 kB / 495.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.1407, allocations: 421.2 kB / 495.9 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1407, allocations: 8 kB / 495.9 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1408, allocations: 23.92 kB / 495.9 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1408, allocations: 4 kB / 495.9 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.1409, allocations: 11.98 kB / 495.9 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1409, allocations: 3.938 kB / 496 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.1409, allocations: 4 kB / 496 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006386/0.1415, allocations: 365.8 kB / 496.3 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1416, allocations: 128.4 kB / 496.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.1417, allocations: 19.98 kB / 496.5 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1419, allocations: 19.92 kB / 496.5 MB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.142, allocations: 35.95 kB / 496.5 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.1421, allocations: 16 kB / 496.5 MB, free: 4.801 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005248/0.1426, allocations: 494.8 kB / 497 MB, free: 4.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1426, allocations: 0 / 497 MB, free: 4.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.143, allocations: 99.94 kB / 497.1 MB, free: 4.223 MB / 366.1 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.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * 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.001114/0.1441, allocations: 452.1 kB / 497.5 MB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005531/0.1447, allocations: 223.8 kB / 497.8 MB, free: 3.695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.1447, allocations: 8.25 kB / 497.8 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.145, allocations: 167.8 kB / 497.9 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/0.1457, allocations: 152.2 kB / 498.1 MB, free: 3.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1469, allocations: 0.8089 MB / 498.9 MB, free: 2.535 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.1474, allocations: 0.8506 MB / 499.7 MB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002211/0.1476, allocations: 95.22 kB / 499.8 MB, free: 1.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1477, allocations: 51.42 kB / 499.9 MB, free: 1.504 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1477, allocations: 0 / 499.9 MB, free: 1.504 MB / 366.1 MB Notification: Performance of Templates: time 0.01318/0.1609, allocations: 7.633 MB / 0.4956 GB, free: 9.902 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches