Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000835/0.0008352, allocations: 174.7 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.206/1.206, allocations: 205.4 MB / 222.9 MB, free: 9 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006292/0.0006292, allocations: 98.28 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2807/0.2807, allocations: 43.57 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 16 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08753/0.08791, allocations: 58.84 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002083/0.09003, allocations: 1.9 MB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.09191, allocations: 1.381 MB / 494.1 MB, free: 7.355 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.09205, allocations: 7.938 kB / 494.1 MB, free: 7.348 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.09238, allocations: 119.5 kB / 494.2 MB, free: 7.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.09272, allocations: 175.3 kB / 494.4 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.09392, allocations: 0.538 MB / 494.9 MB, free: 6.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000445/0.09437, allocations: 466.5 kB / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.09455, allocations: 77 kB / 495.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.09478, allocations: 191.1 kB / 495.6 MB, free: 5.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.09498, allocations: 187.1 kB / 495.8 MB, free: 5.613 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.09503, allocations: 8 kB / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.09525, allocations: 123.8 kB / 496 MB, free: 5.484 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.09538, allocations: 107.6 kB / 496.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.09554, allocations: 188.6 kB / 496.2 MB, free: 5.188 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.09593, allocations: 423.3 kB / 496.7 MB, free: 4.773 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.09594, allocations: 0 / 496.7 MB, free: 4.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09595, allocations: 0 / 496.7 MB, free: 4.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.09596, allocations: 0 / 496.7 MB, free: 4.773 MB / 378.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.0009469/0.09691, allocations: 0.8089 MB / 497.5 MB, free: 3.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.09695, allocations: 8.031 kB / 497.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.299e-05/0.09704, allocations: 52.28 kB / 497.5 MB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.09755, allocations: 464.1 kB / 498 MB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.09759, allocations: 16.59 kB / 498 MB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.09762, allocations: 24.11 kB / 498 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.09803, allocations: 257.3 kB / 498.3 MB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.09805, allocations: 0 / 498.3 MB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.09808, allocations: 8 kB / 498.3 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.09809, allocations: 4 kB / 498.3 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.09837, allocations: 111.9 kB / 498.4 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009408/0.09931, allocations: 0.8756 MB / 499.3 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.0999, allocations: 286.6 kB / 499.5 MB, free: 1.633 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.1001, allocations: 115.3 kB / 499.7 MB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1002, allocations: 4.219 kB / 499.7 MB, free: 1.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/0.1006, allocations: 218.6 kB / 499.9 MB, free: 1.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.1006, allocations: 0 / 499.9 MB, free: 1.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.00085/0.1014, allocations: 404.7 kB / 0.4885 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.1016, allocations: 342.1 kB / 0.4889 GB, free: 460 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1516/0.2532, allocations: 0.6241 MB / 0.4895 GB, free: 43.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/0.2533, allocations: 35.25 kB / 0.4895 GB, free: 43.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.2535, allocations: 225.7 kB / 0.4897 GB, free: 43.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/0.2536, allocations: 65 kB / 0.4898 GB, free: 43.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.2536, allocations: 4.719 kB / 0.4898 GB, free: 43.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.2537, allocations: 364.4 kB / 0.4901 GB, free: 42.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.2539, allocations: 84.39 kB / 0.4902 GB, free: 42.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.2542, allocations: 250.1 kB / 0.4905 GB, free: 42.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.2546, allocations: 230 kB / 0.4907 GB, free: 42.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2546, allocations: 0.875 kB / 0.4907 GB, free: 42.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005961/0.2552, allocations: 315 kB / 0.491 GB, free: 42.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2552, allocations: 5.906 kB / 0.491 GB, free: 42.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2552, allocations: 2.156 kB / 0.491 GB, free: 42.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2553, allocations: 8.078 kB / 0.491 GB, free: 42.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.2555, allocations: 59.8 kB / 0.4911 GB, free: 42.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.2555, allocations: 6.328 kB / 0.4911 GB, free: 42.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.2557, allocations: 26.7 kB / 0.4911 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.2557, allocations: 16.91 kB / 0.4911 GB, free: 42.47 MB / 378.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 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002268/0.256, allocations: 218.4 kB / 0.4913 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.2561, allocations: 52.73 kB / 0.4914 GB, free: 42.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.2562, allocations: 59.62 kB / 0.4914 GB, free: 42.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2562, allocations: 6.5 kB / 0.4914 GB, free: 42.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2562, allocations: 0.6094 kB / 0.4914 GB, free: 42.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2562, allocations: 5.734 kB / 0.4914 GB, free: 42.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.2566, allocations: 400.7 kB / 0.4918 GB, free: 42.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2566, allocations: 3.281 kB / 0.4918 GB, free: 42.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.2567, allocations: 27.84 kB / 0.4918 GB, free: 42.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2567, allocations: 2.094 kB / 0.4918 GB, free: 42.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.2567, allocations: 14.22 kB / 0.4919 GB, free: 42.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2568, allocations: 2.922 kB / 0.4919 GB, free: 42.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2568, allocations: 0.9062 kB / 0.4919 GB, free: 42.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.2574, allocations: 357.6 kB / 0.4922 GB, free: 42.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.9e-05/0.2575, allocations: 142.2 kB / 0.4923 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.2576, allocations: 17.09 kB / 0.4924 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.2577, allocations: 17.56 kB / 0.4924 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.2578, allocations: 44.41 kB / 0.4924 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.2579, allocations: 13.98 kB / 0.4924 GB, free: 41.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004793/0.2583, allocations: 461.5 kB / 0.4929 GB, free: 41.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.2584, allocations: 0 / 0.4929 GB, free: 41.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004197/0.2588, allocations: 102.6 kB / 0.493 GB, free: 41.8 MB / 378.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.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008912/0.2597, allocations: 467.3 kB / 0.4934 GB, free: 41.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.2602, allocations: 227.6 kB / 0.4936 GB, free: 41.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2602, allocations: 1.25 kB / 0.4936 GB, free: 41.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.2605, allocations: 120.2 kB / 0.4937 GB, free: 41.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.2611, allocations: 132.1 kB / 0.4939 GB, free: 41.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.2622, allocations: 0.8827 MB / 0.4947 GB, free: 41.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.2625, allocations: 0.8371 MB / 0.4956 GB, free: 40.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.2626, allocations: 48.95 kB / 0.4956 GB, free: 40.44 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2626, allocations: 0 / 0.4956 GB, free: 40.44 MB / 378.7 MB Notification: Performance of Templates: time 0.008653/0.2713, allocations: 6.965 MB / 0.5024 GB, free: 39.71 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches