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.001392/0.001392, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 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.001445/0.001445, allocations: 209.6 kB / 23.74 MB, free: 4.543 MB / 14.72 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 1.458/1.458, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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.2318/0.2318, allocations: 44.26 MB / 331.1 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 64.47 kB / 468.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1579, allocations: 61.05 MB / 0.5174 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.005958/0.1639, allocations: 2.157 MB / 0.5195 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.1668, allocations: 1.423 MB / 0.5209 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.167, allocations: 7.938 kB / 0.5209 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.1676, allocations: 139.3 kB / 0.521 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005775/0.1681, allocations: 231 kB / 0.5212 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.1699, allocations: 0.6199 MB / 0.5218 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007683/0.1707, allocations: 0.5375 MB / 0.5224 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.1709, allocations: 49.17 kB / 0.5224 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.1712, allocations: 235.1 kB / 0.5226 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.1716, allocations: 223 kB / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.804e-05/0.1716, allocations: 28 kB / 0.5229 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.172, allocations: 191.8 kB / 0.523 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.1722, allocations: 135.5 kB / 0.5232 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.1724, allocations: 147 kB / 0.5233 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008073/0.1732, allocations: 0.5719 MB / 0.5239 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1732, allocations: 0 / 0.5239 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1732, allocations: 0 / 0.5239 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1732, allocations: 0 / 0.5239 GB, free: 15.97 MB / 414.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.001414/0.1747, allocations: 0.8226 MB / 0.5247 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1747, allocations: 12.03 kB / 0.5247 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.1748, allocations: 60.59 kB / 0.5247 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007544/0.1756, allocations: 398.5 kB / 0.5251 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.1756, allocations: 16.59 kB / 0.5251 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.1756, allocations: 16.12 kB / 0.5252 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.1762, allocations: 340.8 kB / 0.5255 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1762, allocations: 3.984 kB / 0.5255 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.1763, allocations: 4 kB / 0.5255 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1763, allocations: 4 kB / 0.5255 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.1766, allocations: 119.9 kB / 0.5256 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.1778, allocations: 0.7857 MB / 0.5264 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.1785, allocations: 302.5 kB / 0.5267 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.1787, allocations: 103.4 kB / 0.5268 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1788, allocations: 8 kB / 0.5268 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004686/0.1792, allocations: 226.5 kB / 0.527 GB, free: 12.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.1792, allocations: 0 / 0.527 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001057/0.1803, allocations: 421 kB / 0.5274 GB, free: 12.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/0.1805, allocations: 243.3 kB / 0.5276 GB, free: 11.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008218/0.1813, allocations: 0.6433 MB / 0.5282 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.1813, allocations: 37.7 kB / 0.5283 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.1815, allocations: 216.5 kB / 0.5285 GB, free: 10.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.399e-05/0.1816, allocations: 71.55 kB / 0.5286 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1817, allocations: 57.69 kB / 0.5286 GB, free: 10.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.1819, allocations: 366.8 kB / 0.529 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.1822, allocations: 87.94 kB / 0.529 GB, free: 10.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004938/0.1827, allocations: 435.2 kB / 0.5295 GB, free: 9.797 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.1832, allocations: 247.7 kB / 0.5297 GB, free: 9.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1832, allocations: 0 / 0.5297 GB, free: 9.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006721/0.1838, allocations: 325.1 kB / 0.53 GB, free: 9.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.1839, allocations: 8 kB / 0.53 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1839, allocations: 0 / 0.53 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.1839, allocations: 4.125 kB / 0.53 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.1842, allocations: 59.91 kB / 0.5301 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1842, allocations: 7.938 kB / 0.5301 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.1844, allocations: 31.83 kB / 0.5301 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.1844, allocations: 11.98 kB / 0.5301 GB, free: 9.086 MB / 414.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.0002858/0.1847, allocations: 214 kB / 0.5303 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-05/0.1848, allocations: 51.67 kB / 0.5304 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008466/0.1856, allocations: 381.3 kB / 0.5307 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.1856, allocations: 4 kB / 0.5307 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.1856, allocations: 3.938 kB / 0.5308 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1856, allocations: 4 kB / 0.5308 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.1861, allocations: 313 kB / 0.5311 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1861, allocations: 0 / 0.5311 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.1862, allocations: 35.91 kB / 0.5311 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1862, allocations: 0 / 0.5311 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.1862, allocations: 8 kB / 0.5311 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1862, allocations: 4 kB / 0.5311 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1862, allocations: 4 kB / 0.5311 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007799/0.187, allocations: 403.3 kB / 0.5315 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.1871, allocations: 55.64 kB / 0.5315 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/0.1872, allocations: 12 kB / 0.5316 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.1874, allocations: 19.92 kB / 0.5316 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.1875, allocations: 39.88 kB / 0.5316 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.1875, allocations: 19.98 kB / 0.5316 GB, free: 7.469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006036/0.1881, allocations: 466.8 kB / 0.5321 GB, free: 7.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1881, allocations: 0 / 0.5321 GB, free: 7.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004711/0.1886, allocations: 107.8 kB / 0.5322 GB, free: 6.91 MB / 414.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.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.0019/0.1905, allocations: 489 kB / 0.5326 GB, free: 6.477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006703/0.1912, allocations: 239.7 kB / 0.5329 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1912, allocations: 0 / 0.5329 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.1915, allocations: 128.1 kB / 0.533 GB, free: 6.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.1922, allocations: 154.5 kB / 0.5331 GB, free: 5.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.1938, allocations: 0.8447 MB / 0.534 GB, free: 5.086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1941, allocations: 242.1 kB / 0.5342 GB, free: 4.824 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.1943, allocations: 51.36 kB / 0.5342 GB, free: 4.773 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1943, allocations: 0 / 0.5342 GB, free: 4.773 MB / 414.1 MB Notification: Performance of Templates: time 0.2981/0.4924, allocations: 7.226 MB / 0.5413 GB, free: 28.54 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.026162665802985]