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.00148/0.001481, allocations: 186.4 kB / 16.41 MB, free: 5.727 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.948/1.948, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001149/0.001149, allocations: 100.3 kB / 270.9 MB, free: 8.355 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.5043/0.5043, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006215/0.0006216, allocations: 11.98 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1224, allocations: 58.84 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.456/0.5784, allocations: 88.47 MB / 0.5651 GB, free: 14.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.5787, allocations: 63.97 kB / 0.5652 GB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0607/0.6394, allocations: 12.96 MB / 0.5778 GB, free: 1.121 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6395, allocations: 0 / 0.5778 GB, free: 1.121 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.269e-05/0.6396, allocations: 15.94 kB / 0.5778 GB, free: 1.105 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.001995/0.6416, allocations: 0.8543 MB / 0.5787 GB, free: 180 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.6416, allocations: 8.562 kB / 0.5787 GB, free: 172 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.6418, allocations: 50.88 kB / 0.5787 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.6432, allocations: 495.2 kB / 0.5792 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.6433, allocations: 24.16 kB / 0.5792 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.6434, allocations: 8 kB / 0.5792 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.6441, allocations: 261.4 kB / 0.5795 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6442, allocations: 0 / 0.5795 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/0.6442, allocations: 13.02 kB / 0.5795 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.6442, allocations: 4 kB / 0.5795 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.6448, allocations: 119.8 kB / 0.5796 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.6468, allocations: 0.9303 MB / 0.5805 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.648, allocations: 306.9 kB / 0.5808 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.6481, allocations: 8.219 kB / 0.5808 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006797/0.6488, allocations: 227.7 kB / 0.581 GB, free: 13.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 3.988e-06/0.6488, allocations: 0 / 0.581 GB, free: 13.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.001812/0.6506, allocations: 420.7 kB / 0.5814 GB, free: 13.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002054/0.6509, allocations: 346.1 kB / 0.5818 GB, free: 12.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.6522, allocations: 0.5761 MB / 0.5823 GB, free: 12.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.6524, allocations: 37.7 kB / 0.5824 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.6526, allocations: 243 kB / 0.5826 GB, free: 11.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.6528, allocations: 67.14 kB / 0.5827 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.6528, allocations: 12 kB / 0.5827 GB, free: 11.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.653, allocations: 314.8 kB / 0.583 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/0.6535, allocations: 87.94 kB / 0.5831 GB, free: 11.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.6541, allocations: 261 kB / 0.5833 GB, free: 11.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/0.6546, allocations: 115 kB / 0.5834 GB, free: 10.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.6546, allocations: 0 / 0.5834 GB, free: 10.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001133/0.6558, allocations: 289.2 kB / 0.5837 GB, free: 10.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.6558, allocations: 11.98 kB / 0.5837 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.6559, allocations: 0 / 0.5837 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.6559, allocations: 8.125 kB / 0.5837 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.6564, allocations: 51.91 kB / 0.5838 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.6564, allocations: 4 kB / 0.5838 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.6569, allocations: 35.83 kB / 0.5838 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.657, allocations: 8 kB / 0.5838 GB, free: 10.54 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.0005027/0.6575, allocations: 221.7 kB / 0.584 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.6578, allocations: 55.3 kB / 0.5841 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.6593, allocations: 377.3 kB / 0.5844 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.6593, allocations: 4 kB / 0.5844 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6593, allocations: 0 / 0.5844 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.6594, allocations: 4 kB / 0.5844 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008728/0.6602, allocations: 441.4 kB / 0.5849 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6603, allocations: 4 kB / 0.5849 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.6606, allocations: 31.98 kB / 0.5849 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/0.6606, allocations: 4 kB / 0.5849 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/0.6607, allocations: 23.81 kB / 0.5849 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.6607, allocations: 0 / 0.5849 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6607, allocations: 4 kB / 0.5849 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.6622, allocations: 428.7 kB / 0.5853 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.6625, allocations: 156.4 kB / 0.5855 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.6627, allocations: 12 kB / 0.5855 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.663, allocations: 15.98 kB / 0.5855 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.6632, allocations: 51.88 kB / 0.5856 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.6633, allocations: 8 kB / 0.5856 GB, free: 8.605 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001061/0.6644, allocations: 470.8 kB / 0.586 GB, free: 8.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.6644, allocations: 0 / 0.586 GB, free: 8.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001003/0.6654, allocations: 127.9 kB / 0.5861 GB, free: 8.023 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.00151/0.667, allocations: 483.6 kB / 0.5866 GB, free: 7.645 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.6682, allocations: 279.7 kB / 0.5869 GB, free: 7.371 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6683, allocations: 0 / 0.5869 GB, free: 7.371 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005457/0.6688, allocations: 135.9 kB / 0.587 GB, free: 7.238 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.67, allocations: 118.7 kB / 0.5871 GB, free: 7.117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.6724, allocations: 0.9255 MB / 0.588 GB, free: 6.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/0.6731, allocations: 0.8587 MB / 0.5889 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.6735, allocations: 51.42 kB / 0.5889 GB, free: 5.219 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6735, allocations: 0 / 0.5889 GB, free: 5.219 MB / 410.7 MB Notification: Performance of Templates: time 0.01907/0.6926, allocations: 7.182 MB / 0.5959 GB, free: 14.05 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