Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 191.9 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 226.5 MB / 243.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007692/0.0007691, allocations: 103.7 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3036/0.3036, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.000278, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2676, allocations: 62.97 MB / 0.5159 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.001473/0.2691, allocations: 1.36 MB / 0.5172 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000665/0.2698, allocations: 0.5323 MB / 0.5177 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.332e-05/0.2698, allocations: 0 / 0.5177 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.27, allocations: 57.81 kB / 0.5178 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.2702, allocations: 75.78 kB / 0.5179 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.2706, allocations: 158.8 kB / 0.518 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2707, allocations: 69.81 kB / 0.5181 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.2708, allocations: 29.34 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.244e-05/0.2708, allocations: 30.25 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.2709, allocations: 35.2 kB / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2709, allocations: 0 / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.821e-05/0.271, allocations: 46.14 kB / 0.5182 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.2711, allocations: 20.12 kB / 0.5182 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.2711, allocations: 55.2 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.2712, allocations: 84.28 kB / 0.5184 GB, free: 35.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2712, allocations: 4 kB / 0.5184 GB, free: 35.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2712, allocations: 0 / 0.5184 GB, free: 35.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.2713, allocations: 3 kB / 0.5184 GB, free: 35.69 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003671/0.2716, allocations: 404.9 kB / 0.5188 GB, free: 35.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2717, allocations: 9.938 kB / 0.5188 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.2717, allocations: 10.78 kB / 0.5188 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2718, allocations: 198.8 kB / 0.519 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2719, allocations: 8.312 kB / 0.519 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2719, allocations: 7.406 kB / 0.519 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.272, allocations: 71.44 kB / 0.519 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2721, allocations: 3.906 kB / 0.5191 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.2721, allocations: 0 / 0.5191 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2721, allocations: 2.938 kB / 0.5191 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.2722, allocations: 52.73 kB / 0.5191 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.2726, allocations: 323 kB / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.2728, allocations: 66.17 kB / 0.5195 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.93e-05/0.2728, allocations: 28.95 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.2729, allocations: 4.031 kB / 0.5195 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.17e-05/0.2729, allocations: 40.38 kB / 0.5195 GB, free: 34.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2729, allocations: 4 kB / 0.5196 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001274/0.2742, allocations: 493.3 kB / 0.52 GB, free: 34.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.2742, allocations: 59.34 kB / 0.5201 GB, free: 34.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.2743, allocations: 187 kB / 0.5203 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.2744, allocations: 25.7 kB / 0.5203 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.2744, allocations: 109.6 kB / 0.5204 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.2744, allocations: 34.69 kB / 0.5204 GB, free: 34.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.2744, allocations: 3.938 kB / 0.5204 GB, free: 34.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.244e-05/0.2745, allocations: 318.3 kB / 0.5207 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2746, allocations: 67.27 kB / 0.5208 GB, free: 33.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.2747, allocations: 65.14 kB / 0.5209 GB, free: 33.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.275, allocations: 147.5 kB / 0.521 GB, free: 33.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.275, allocations: 0 / 0.521 GB, free: 33.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002872/0.2753, allocations: 179.8 kB / 0.5212 GB, free: 33.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2753, allocations: 6.094 kB / 0.5212 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2753, allocations: 0 / 0.5212 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2753, allocations: 3.438 kB / 0.5212 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.2755, allocations: 42.44 kB / 0.5212 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2755, allocations: 0 / 0.5212 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.748e-05/0.2755, allocations: 12.42 kB / 0.5212 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2755, allocations: 10.81 kB / 0.5212 GB, free: 33.63 MB / 378.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 (11): * Single equations (assignments): 11 * 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 6.915e-05/0.2756, allocations: 132.3 kB / 0.5214 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.2757, allocations: 17.78 kB / 0.5214 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.276, allocations: 205 kB / 0.5216 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.276, allocations: 7.938 kB / 0.5216 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.276, allocations: 2.969 kB / 0.5216 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.276, allocations: 0 / 0.5216 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.2766, allocations: 0.507 MB / 0.5221 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2766, allocations: 0 / 0.5221 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.419e-05/0.2767, allocations: 31.66 kB / 0.5221 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2767, allocations: 2.594 kB / 0.5221 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.2767, allocations: 4.062 kB / 0.5221 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2767, allocations: 2.375 kB / 0.5221 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2767, allocations: 3.281 kB / 0.5221 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.277, allocations: 298 kB / 0.5224 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.2771, allocations: 90.2 kB / 0.5225 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.2771, allocations: 0 / 0.5225 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.2772, allocations: 18.12 kB / 0.5225 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.2772, allocations: 12.48 kB / 0.5225 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.2773, allocations: 6.25 kB / 0.5225 GB, free: 32.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.167e-05/0.2773, allocations: 146.6 kB / 0.5227 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2773, allocations: 0 / 0.5227 GB, free: 32.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000238/0.2776, allocations: 28.09 kB / 0.5227 GB, free: 32.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008324/0.2784, allocations: 451.8 kB / 0.5231 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.2787, allocations: 144.8 kB / 0.5233 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2787, allocations: 0 / 0.5233 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.2789, allocations: 76.27 kB / 0.5233 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.2792, allocations: 25.03 kB / 0.5234 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.2796, allocations: 343.1 kB / 0.5237 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.2798, allocations: 0.7154 MB / 0.5244 GB, free: 31.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.2798, allocations: 15.72 kB / 0.5244 GB, free: 31.33 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2798, allocations: 0 / 0.5244 GB, free: 31.33 MB / 378.7 MB Notification: Performance of Templates: time 0.003123/0.283, allocations: 2.042 MB / 0.5264 GB, free: 31.1 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches