Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 201 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009522/0.0009523, allocations: 108.2 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4632/0.4632, allocations: 44.81 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.000314, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3945, allocations: 62.96 MB / 0.5184 GB, free: 37.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.5288, allocations: 89.57 MB / 0.6059 GB, free: 15.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/0.5293, allocations: 71.95 kB / 0.606 GB, free: 15.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0195/0.5488, allocations: 5.469 MB / 0.6113 GB, free: 10.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5488, allocations: 0 / 0.6113 GB, free: 10.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.5489, allocations: 4 kB / 0.6113 GB, free: 10.19 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006506/0.5495, allocations: 399.5 kB / 0.6117 GB, free: 9.746 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.5496, allocations: 12.03 kB / 0.6117 GB, free: 9.734 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.788e-05/0.5497, allocations: 8.922 kB / 0.6117 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.55, allocations: 208 kB / 0.6119 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.5501, allocations: 384 / 0.6119 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.5501, allocations: 384 / 0.6119 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.5503, allocations: 67.95 kB / 0.612 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5503, allocations: 192 / 0.612 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.5504, allocations: 3.938 kB / 0.612 GB, free: 9.402 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5504, allocations: 4 kB / 0.612 GB, free: 9.398 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.5505, allocations: 27.97 kB / 0.612 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.551, allocations: 276.9 kB / 0.6123 GB, free: 9.051 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.5513, allocations: 50.5 kB / 0.6123 GB, free: 8.992 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.673e-05/0.5513, allocations: 16.94 kB / 0.6123 GB, free: 8.973 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.5514, allocations: 0 / 0.6123 GB, free: 8.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/0.5514, allocations: 38.5 kB / 0.6124 GB, free: 8.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.5515, allocations: 0 / 0.6124 GB, free: 8.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007523/0.5522, allocations: 161.3 kB / 0.6125 GB, free: 8.762 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.5523, allocations: 77.11 kB / 0.6126 GB, free: 8.668 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.5525, allocations: 144.5 kB / 0.6127 GB, free: 8.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.5525, allocations: 25.7 kB / 0.6128 GB, free: 8.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.453e-05/0.5526, allocations: 108 kB / 0.6129 GB, free: 8.379 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.5527, allocations: 15.75 kB / 0.6129 GB, free: 8.363 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.5527, allocations: 0 / 0.6129 GB, free: 8.363 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5528, allocations: 328 kB / 0.6132 GB, free: 8.035 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.273e-05/0.5529, allocations: 15.98 kB / 0.6132 GB, free: 8.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.5531, allocations: 41.7 kB / 0.6132 GB, free: 7.973 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.5533, allocations: 52.83 kB / 0.6133 GB, free: 7.918 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5533, allocations: 0 / 0.6133 GB, free: 7.918 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002583/0.5535, allocations: 89.61 kB / 0.6134 GB, free: 7.824 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5536, allocations: 4 kB / 0.6134 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5536, allocations: 0 / 0.6134 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.5536, allocations: 0 / 0.6134 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.5537, allocations: 23.92 kB / 0.6134 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.5537, allocations: 0 / 0.6134 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.866e-05/0.5538, allocations: 8 kB / 0.6134 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.5538, allocations: 7.938 kB / 0.6134 GB, free: 7.781 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 (5): * Single equations (assignments): 5 * 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.0001362/0.554, allocations: 121.8 kB / 0.6135 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.554, allocations: 7.906 kB / 0.6135 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.5544, allocations: 93.95 kB / 0.6136 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5544, allocations: 4 kB / 0.6136 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5544, allocations: 0 / 0.6136 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5544, allocations: 4 kB / 0.6136 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.555, allocations: 362.4 kB / 0.614 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.555, allocations: 4 kB / 0.614 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/0.5551, allocations: 16.36 kB / 0.614 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.5551, allocations: 4 kB / 0.614 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.5552, allocations: 4 kB / 0.614 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5552, allocations: 0 / 0.614 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5552, allocations: 3.938 kB / 0.614 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.5555, allocations: 191.4 kB / 0.6142 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.5556, allocations: 85.02 kB / 0.6143 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.5557, allocations: 7.984 kB / 0.6143 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5558, allocations: 4 kB / 0.6143 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.5558, allocations: 7.938 kB / 0.6143 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.5559, allocations: 3.984 kB / 0.6143 GB, free: 6.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.556, allocations: 114.5 kB / 0.6144 GB, free: 6.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.556, allocations: 7.938 kB / 0.6144 GB, free: 6.652 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004849/0.5565, allocations: 51.86 kB / 0.6145 GB, free: 6.602 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001612/0.5581, allocations: 494.1 kB / 0.6149 GB, free: 6.273 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.5584, allocations: 55.89 kB / 0.615 GB, free: 6.219 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5584, allocations: 4 kB / 0.615 GB, free: 6.215 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.5586, allocations: 27.98 kB / 0.615 GB, free: 6.188 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.559, allocations: 15.98 kB / 0.615 GB, free: 6.172 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.5596, allocations: 180.2 kB / 0.6152 GB, free: 5.973 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.56, allocations: 0.6926 MB / 0.6159 GB, free: 5.254 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.123e-05/0.5601, allocations: 11.97 kB / 0.6159 GB, free: 5.242 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.5602, allocations: 15.44 kB / 0.6159 GB, free: 5.227 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5602, allocations: 3.938 kB / 0.6159 GB, free: 5.223 MB / 426.7 MB Notification: Performance of Templates: time 0.00581/0.566, allocations: 1.69 MB / 0.6176 GB, free: 3.543 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches