Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001209, allocations: 205.6 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 226.5 MB / 245.4 MB, free: 8.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 103.9 kB / 297.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4308/0.4308, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003427, allocations: 11.98 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4207, allocations: 62.95 MB / 0.5184 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.5572, allocations: 89.48 MB / 0.6058 GB, free: 15.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.5575, allocations: 87.92 kB / 0.6059 GB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01402/0.5715, allocations: 5.135 MB / 0.6109 GB, free: 10.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5716, allocations: 0 / 0.6109 GB, free: 10.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.5716, allocations: 8 kB / 0.6109 GB, free: 10.59 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005837/0.5722, allocations: 427.3 kB / 0.6113 GB, free: 10.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.5722, allocations: 16.02 kB / 0.6113 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.5723, allocations: 12.75 kB / 0.6113 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.5726, allocations: 204.8 kB / 0.6115 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.5726, allocations: 4.375 kB / 0.6115 GB, free: 9.852 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.5727, allocations: 4.375 kB / 0.6115 GB, free: 9.848 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.5728, allocations: 62.17 kB / 0.6116 GB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5728, allocations: 192 / 0.6116 GB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.5729, allocations: 7.938 kB / 0.6116 GB, free: 9.773 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.5729, allocations: 0 / 0.6116 GB, free: 9.773 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.573, allocations: 31.97 kB / 0.6116 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.5735, allocations: 312.7 kB / 0.6119 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.5736, allocations: 50.48 kB / 0.612 GB, free: 9.328 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.5737, allocations: 16.86 kB / 0.612 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.5737, allocations: 4.078 kB / 0.612 GB, free: 9.305 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.5738, allocations: 34.56 kB / 0.612 GB, free: 9.262 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.5738, allocations: 4 kB / 0.612 GB, free: 9.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009533/0.5747, allocations: 258.6 kB / 0.6123 GB, free: 9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.5748, allocations: 51.41 kB / 0.6123 GB, free: 8.938 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.5751, allocations: 216.3 kB / 0.6125 GB, free: 8.719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.5751, allocations: 29.7 kB / 0.6126 GB, free: 8.684 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.5752, allocations: 108 kB / 0.6127 GB, free: 8.574 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.5752, allocations: 23.7 kB / 0.6127 GB, free: 8.551 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.5752, allocations: 3.938 kB / 0.6127 GB, free: 8.547 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5754, allocations: 330.8 kB / 0.613 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.229e-05/0.5755, allocations: 35.92 kB / 0.6131 GB, free: 8.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.088e-05/0.5756, allocations: 40.03 kB / 0.6131 GB, free: 8.141 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.5758, allocations: 84.98 kB / 0.6132 GB, free: 8.055 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.5758, allocations: 0 / 0.6132 GB, free: 8.055 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002592/0.5761, allocations: 125.5 kB / 0.6133 GB, free: 7.926 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5761, allocations: 6.969 kB / 0.6133 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5761, allocations: 0 / 0.6133 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5761, allocations: 7.984 kB / 0.6133 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.5762, allocations: 19.94 kB / 0.6133 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.5762, allocations: 0 / 0.6133 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.5763, allocations: 15.92 kB / 0.6133 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.5763, allocations: 4 kB / 0.6133 GB, free: 7.875 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001156/0.5764, allocations: 135.5 kB / 0.6135 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.5765, allocations: 11.91 kB / 0.6135 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.5768, allocations: 131 kB / 0.6136 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5768, allocations: 4 kB / 0.6136 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5769, allocations: 0 / 0.6136 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.5769, allocations: 3.984 kB / 0.6136 GB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008699/0.5778, allocations: 439.2 kB / 0.614 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5778, allocations: 7.969 kB / 0.614 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.5779, allocations: 19.98 kB / 0.6141 GB, free: 7.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.5779, allocations: 4 kB / 0.6141 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.5779, allocations: 7.938 kB / 0.6141 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5779, allocations: 0 / 0.6141 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.578, allocations: 0 / 0.6141 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.5784, allocations: 224.2 kB / 0.6143 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-05/0.5785, allocations: 92.92 kB / 0.6144 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.5785, allocations: 11.92 kB / 0.6144 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.5787, allocations: 11.94 kB / 0.6144 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.5787, allocations: 7.984 kB / 0.6144 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.5787, allocations: 4 kB / 0.6144 GB, free: 6.672 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.579, allocations: 159.2 kB / 0.6146 GB, free: 6.516 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.579, allocations: 0 / 0.6146 GB, free: 6.516 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003241/0.5793, allocations: 28 kB / 0.6146 GB, free: 6.488 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001076/0.5804, allocations: 463.3 kB / 0.615 GB, free: 6.184 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.5807, allocations: 83.89 kB / 0.6151 GB, free: 6.102 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5807, allocations: 0 / 0.6151 GB, free: 6.102 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.782e-05/0.5808, allocations: 44.05 kB / 0.6152 GB, free: 6.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.5811, allocations: 15.98 kB / 0.6152 GB, free: 6.043 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.5817, allocations: 290.3 kB / 0.6154 GB, free: 5.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.5822, allocations: 0.7121 MB / 0.6161 GB, free: 4.992 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.5823, allocations: 20.97 kB / 0.6162 GB, free: 4.969 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.5824, allocations: 11.44 kB / 0.6162 GB, free: 4.961 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5824, allocations: 4 kB / 0.6162 GB, free: 4.957 MB / 426.7 MB Notification: Performance of Templates: time 0.004455/0.5869, allocations: 1.429 MB / 0.6176 GB, free: 3.535 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches