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.001498/0.001498, allocations: 180.9 kB / 17.41 MB, free: 4.289 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.332/1.332, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007841/0.0007841, allocations: 87.41 kB / 271.9 MB, free: 8.246 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.3722/0.3722, allocations: 43.56 MB / 363.8 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003647, allocations: 15.98 kB / 432.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 58.84 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3582/0.4927, allocations: 88.52 MB / 0.5664 GB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.493, allocations: 67.97 kB / 0.5664 GB, free: 13.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03549/0.5285, allocations: 12.95 MB / 0.5791 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5286, allocations: 3.938 kB / 0.5791 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.791e-05/0.5286, allocations: 20.11 kB / 0.5791 GB, free: 0.8906 MB / 394.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.001343/0.53, allocations: 0.8516 MB / 0.5799 GB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.53, allocations: 8.031 kB / 0.5799 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.5301, allocations: 52.38 kB / 0.58 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008106/0.531, allocations: 0.5038 MB / 0.5805 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.531, allocations: 12.61 kB / 0.5805 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.531, allocations: 12.38 kB / 0.5805 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.5315, allocations: 269.9 kB / 0.5808 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.5316, allocations: 192 / 0.5808 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.5316, allocations: 7.938 kB / 0.5808 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.5316, allocations: 4 kB / 0.5808 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.5319, allocations: 123.8 kB / 0.5809 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.5331, allocations: 0.9227 MB / 0.5818 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.5338, allocations: 310.5 kB / 0.5821 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.534, allocations: 115.4 kB / 0.5822 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.534, allocations: 4 kB / 0.5822 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004044/0.5345, allocations: 227.5 kB / 0.5824 GB, free: 13.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.5345, allocations: 3.938 kB / 0.5824 GB, free: 13.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009545/0.5354, allocations: 412.8 kB / 0.5828 GB, free: 12.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002185/0.5357, allocations: 342.1 kB / 0.5831 GB, free: 12.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008201/0.5365, allocations: 0.6432 MB / 0.5838 GB, free: 11.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.5365, allocations: 37.7 kB / 0.5838 GB, free: 11.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.5367, allocations: 220.5 kB / 0.584 GB, free: 11.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.5368, allocations: 63.33 kB / 0.5841 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.5368, allocations: 4 kB / 0.5841 GB, free: 11.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.537, allocations: 370.7 kB / 0.5844 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.5372, allocations: 87.95 kB / 0.5845 GB, free: 10.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.5376, allocations: 269 kB / 0.5848 GB, free: 10.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.5381, allocations: 239.7 kB / 0.585 GB, free: 10.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5381, allocations: 0 / 0.585 GB, free: 10.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006343/0.5387, allocations: 328.7 kB / 0.5853 GB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.5387, allocations: 8 kB / 0.5853 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5388, allocations: 0 / 0.5853 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.5388, allocations: 4 kB / 0.5853 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.539, allocations: 59.89 kB / 0.5854 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.5391, allocations: 4 kB / 0.5854 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.5393, allocations: 39.89 kB / 0.5854 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.5393, allocations: 8 kB / 0.5854 GB, free: 9.906 MB / 410.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.0003105/0.5396, allocations: 221.7 kB / 0.5856 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.5397, allocations: 51.34 kB / 0.5857 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007601/0.5405, allocations: 377.3 kB / 0.5861 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.5405, allocations: 4 kB / 0.5861 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5405, allocations: 256 / 0.5861 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.5405, allocations: 11.92 kB / 0.5861 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.541, allocations: 437.2 kB / 0.5865 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.541, allocations: 3.984 kB / 0.5865 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.5411, allocations: 31.92 kB / 0.5865 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.5411, allocations: 0 / 0.5865 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.5412, allocations: 15.98 kB / 0.5865 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5412, allocations: 0 / 0.5865 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5412, allocations: 0 / 0.5865 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006938/0.5419, allocations: 402.8 kB / 0.5869 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.542, allocations: 160.3 kB / 0.5871 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.5421, allocations: 12 kB / 0.5871 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.5423, allocations: 23.98 kB / 0.5871 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.5424, allocations: 39.89 kB / 0.5871 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.5425, allocations: 15.98 kB / 0.5872 GB, free: 8.023 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005691/0.543, allocations: 466.8 kB / 0.5876 GB, free: 7.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.543, allocations: 0 / 0.5876 GB, free: 7.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005185/0.5436, allocations: 127.8 kB / 0.5877 GB, free: 7.445 MB / 410.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 (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.00108/0.5446, allocations: 480.5 kB / 0.5882 GB, free: 7.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00062/0.5453, allocations: 267.7 kB / 0.5884 GB, free: 6.809 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5453, allocations: 0 / 0.5884 GB, free: 6.809 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.5456, allocations: 144.2 kB / 0.5886 GB, free: 6.668 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/0.5463, allocations: 131.1 kB / 0.5887 GB, free: 6.539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.5477, allocations: 0.9214 MB / 0.5896 GB, free: 5.574 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.5482, allocations: 0.847 MB / 0.5904 GB, free: 4.699 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.5483, allocations: 59.28 kB / 0.5905 GB, free: 4.641 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5483, allocations: 0 / 0.5905 GB, free: 4.641 MB / 410.7 MB Notification: Performance of Templates: time 0.01026/0.5586, allocations: 7.201 MB / 0.5975 GB, free: 13.45 MB / 426.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/jenkins1/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