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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009525/0.0009525, allocations: 101.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 185 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4971/0.4971, allocations: 43.57 MB / 315 MB, free: 8.785 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004922, allocations: 12 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1564, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003925/0.1604, allocations: 1.966 MB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003769/0.1642, allocations: 1.428 MB / 446.8 MB, free: 9.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.1645, allocations: 11.94 kB / 446.8 MB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006519/0.1652, allocations: 123.6 kB / 447 MB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005762/0.1658, allocations: 199.2 kB / 447.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.1678, allocations: 0.5616 MB / 447.7 MB, free: 8.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008001/0.1686, allocations: 498.5 kB / 448.2 MB, free: 7.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.1689, allocations: 80.98 kB / 448.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.1692, allocations: 195 kB / 448.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.1695, allocations: 203.1 kB / 448.7 MB, free: 7.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.1695, allocations: 8 kB / 448.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.1699, allocations: 131.8 kB / 448.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.1701, allocations: 111.5 kB / 448.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.1703, allocations: 208.4 kB / 449.1 MB, free: 6.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.171, allocations: 0.5374 MB / 449.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.171, allocations: 0 / 449.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.171, allocations: 0 / 449.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.171, allocations: 4 kB / 449.7 MB, free: 6.406 MB / 382.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.00128/0.1723, allocations: 0.8011 MB / 450.5 MB, free: 5.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.1724, allocations: 16.02 kB / 450.5 MB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.559e-05/0.1725, allocations: 52.28 kB / 450.5 MB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.1731, allocations: 464 kB / 451 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.1731, allocations: 16.59 kB / 451 MB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.1732, allocations: 16.12 kB / 451 MB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.1736, allocations: 257.4 kB / 451.3 MB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1737, allocations: 8 kB / 451.3 MB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.1737, allocations: 4 kB / 451.3 MB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1737, allocations: 4 kB / 451.3 MB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.174, allocations: 111.9 kB / 451.4 MB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.1752, allocations: 0.8717 MB / 452.3 MB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006718/0.1758, allocations: 302.5 kB / 452.6 MB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.1761, allocations: 107.4 kB / 452.7 MB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.1761, allocations: 12.22 kB / 452.7 MB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004781/0.1766, allocations: 214.6 kB / 452.9 MB, free: 2.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.884e-06/0.1766, allocations: 7.938 kB / 452.9 MB, free: 2.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001035/0.1777, allocations: 408.7 kB / 453.3 MB, free: 2.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002766/0.178, allocations: 338.1 kB / 453.6 MB, free: 2.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009015/0.1789, allocations: 0.6277 MB / 454.3 MB, free: 1.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.1789, allocations: 33.7 kB / 454.3 MB, free: 1.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.1792, allocations: 232.5 kB / 454.5 MB, free: 1.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.696e-05/0.1793, allocations: 71.03 kB / 454.6 MB, free: 1.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.1794, allocations: 37.7 kB / 454.6 MB, free: 1.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.1796, allocations: 358.8 kB / 455 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.1799, allocations: 83.95 kB / 455 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.1802, allocations: 245.1 kB / 455.3 MB, free: 312 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.1808, allocations: 235.7 kB / 455.5 MB, free: 52 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1808, allocations: 0 / 455.5 MB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.3461/0.5269, allocations: 309.7 kB / 455.8 MB, free: 45.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.5269, allocations: 8.766 kB / 455.8 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5269, allocations: 2.75 kB / 455.8 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.527, allocations: 4.688 kB / 455.8 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.5272, allocations: 55.36 kB / 455.9 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.5272, allocations: 3.094 kB / 455.9 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.5274, allocations: 28.25 kB / 455.9 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.5275, allocations: 13.7 kB / 455.9 MB, free: 45.83 MB / 382.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.0003084/0.5278, allocations: 222.4 kB / 456.2 MB, free: 45.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/0.5279, allocations: 52.5 kB / 456.2 MB, free: 45.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.38e-05/0.528, allocations: 52.28 kB / 456.3 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.528, allocations: 2.75 kB / 456.3 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.528, allocations: 5.375 kB / 456.3 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.528, allocations: 1.5 kB / 456.3 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.5284, allocations: 412.6 kB / 456.7 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5284, allocations: 0 / 456.7 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.5285, allocations: 34.7 kB / 456.7 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5285, allocations: 0 / 456.7 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.5285, allocations: 8.125 kB / 456.7 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5285, allocations: 6.188 kB / 456.7 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5285, allocations: 0.8125 kB / 456.7 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.5291, allocations: 361.2 kB / 457.1 MB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.5292, allocations: 144.6 kB / 457.2 MB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.5293, allocations: 16.64 kB / 457.2 MB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.5294, allocations: 16.03 kB / 457.2 MB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.869e-05/0.5295, allocations: 42.44 kB / 457.3 MB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.5296, allocations: 13.81 kB / 457.3 MB, free: 45.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004573/0.53, allocations: 465.8 kB / 457.8 MB, free: 45.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.53, allocations: 0 / 457.8 MB, free: 45.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003909/0.5304, allocations: 99.83 kB / 457.8 MB, free: 45.21 MB / 382.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.001254/0.5317, allocations: 467.6 kB / 458.3 MB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004861/0.5322, allocations: 231.4 kB / 458.5 MB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5322, allocations: 3.938 kB / 458.5 MB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.5325, allocations: 165.9 kB / 458.7 MB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.5332, allocations: 136.6 kB / 458.8 MB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.5342, allocations: 0.8767 MB / 459.7 MB, free: 44.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.5345, allocations: 0.8358 MB / 460.5 MB, free: 43.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00021/0.5347, allocations: 90.81 kB / 460.6 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.5348, allocations: 48.69 kB / 460.7 MB, free: 43.86 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5348, allocations: 2.625 kB / 460.7 MB, free: 43.86 MB / 382.1 MB Notification: Performance of Templates: time 0.01185/0.5467, allocations: 7.125 MB / 467.8 MB, free: 43.24 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches