Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,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_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001432, allocations: 197.7 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.5 MB / 244.1 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007566/0.0007568, allocations: 94.7 kB / 296.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2909/0.2909, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002379/0.0002379, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2545, allocations: 62.95 MB / 0.5165 GB, free: 37.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.3552, allocations: 89.49 MB / 0.6039 GB, free: 15.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.3554, allocations: 75.95 kB / 0.6039 GB, free: 15.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01305/0.3684, allocations: 5.134 MB / 0.6089 GB, free: 10.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.277e-06/0.3685, allocations: 0 / 0.6089 GB, free: 10.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.3685, allocations: 11.94 kB / 0.609 GB, free: 10.7 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.0004541/0.369, allocations: 435.3 kB / 0.6094 GB, free: 10.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.369, allocations: 8.875 kB / 0.6094 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.3691, allocations: 12.75 kB / 0.6094 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.3693, allocations: 204.8 kB / 0.6096 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3693, allocations: 4.375 kB / 0.6096 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.3693, allocations: 8.359 kB / 0.6096 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.3695, allocations: 66.17 kB / 0.6097 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3695, allocations: 192 / 0.6097 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3695, allocations: 3.938 kB / 0.6097 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3695, allocations: 0 / 0.6097 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.596e-05/0.3696, allocations: 31.97 kB / 0.6097 GB, free: 9.848 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.37, allocations: 312.7 kB / 0.61 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.875e-05/0.3702, allocations: 46.5 kB / 0.61 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.3702, allocations: 20.94 kB / 0.6101 GB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3702, allocations: 4 kB / 0.6101 GB, free: 9.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.3703, allocations: 30.56 kB / 0.6101 GB, free: 9.371 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3703, allocations: 4 kB / 0.6101 GB, free: 9.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008499/0.3711, allocations: 266.6 kB / 0.6103 GB, free: 9.102 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.3712, allocations: 55.48 kB / 0.6104 GB, free: 9.035 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.3714, allocations: 208.1 kB / 0.6106 GB, free: 8.824 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3714, allocations: 33.64 kB / 0.6106 GB, free: 8.785 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.3715, allocations: 116 kB / 0.6107 GB, free: 8.668 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.3715, allocations: 19.7 kB / 0.6108 GB, free: 8.648 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.3715, allocations: 8 kB / 0.6108 GB, free: 8.641 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3716, allocations: 326.8 kB / 0.6111 GB, free: 8.312 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.3717, allocations: 27.98 kB / 0.6111 GB, free: 8.285 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.3718, allocations: 47.84 kB / 0.6112 GB, free: 8.238 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.372, allocations: 76.83 kB / 0.6112 GB, free: 8.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.372, allocations: 0 / 0.6112 GB, free: 8.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002244/0.3722, allocations: 125.5 kB / 0.6113 GB, free: 8.031 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3722, allocations: 4 kB / 0.6113 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3722, allocations: 4 kB / 0.6114 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3723, allocations: 96 / 0.6114 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/0.3724, allocations: 23.97 kB / 0.6114 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3724, allocations: 0 / 0.6114 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.3724, allocations: 11.88 kB / 0.6114 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.3724, allocations: 8 kB / 0.6114 GB, free: 7.98 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 9.047e-05/0.3725, allocations: 129.8 kB / 0.6115 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.3726, allocations: 11.91 kB / 0.6115 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.3729, allocations: 134.9 kB / 0.6117 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3729, allocations: 7.984 kB / 0.6117 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3729, allocations: 4 kB / 0.6117 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3729, allocations: 0 / 0.6117 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.3734, allocations: 443.6 kB / 0.6121 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3735, allocations: 4.031 kB / 0.6121 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.988e-05/0.3735, allocations: 23.94 kB / 0.6121 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3735, allocations: 0 / 0.6121 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3736, allocations: 7.922 kB / 0.6121 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3736, allocations: 4 kB / 0.6121 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3736, allocations: 0 / 0.6121 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.3738, allocations: 220.3 kB / 0.6123 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.3739, allocations: 96.91 kB / 0.6124 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3739, allocations: 7.938 kB / 0.6124 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.374, allocations: 4 kB / 0.6124 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.374, allocations: 11.92 kB / 0.6125 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.3741, allocations: 8 kB / 0.6125 GB, free: 6.773 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.3742, allocations: 155.2 kB / 0.6126 GB, free: 6.621 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3742, allocations: 0 / 0.6126 GB, free: 6.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.3744, allocations: 39.92 kB / 0.6126 GB, free: 6.582 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.0008854/0.3753, allocations: 459.5 kB / 0.6131 GB, free: 6.289 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.3756, allocations: 75.95 kB / 0.6132 GB, free: 6.215 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3756, allocations: 3.938 kB / 0.6132 GB, free: 6.211 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.264e-05/0.3757, allocations: 44.05 kB / 0.6132 GB, free: 6.168 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.376, allocations: 19.08 kB / 0.6132 GB, free: 6.152 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.3765, allocations: 324 kB / 0.6135 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3767, allocations: 0.7121 MB / 0.6142 GB, free: 5.062 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.3768, allocations: 15.44 kB / 0.6142 GB, free: 5.047 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3768, allocations: 3.938 kB / 0.6142 GB, free: 5.043 MB / 426.7 MB Notification: Performance of Templates: time 0.003145/0.38, allocations: 1.861 MB / 0.6161 GB, free: 3.18 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches