Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001694/0.001694, allocations: 200.5 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 226.6 MB / 243.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007544/0.0007544, allocations: 94.34 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2868/0.2868, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000241/0.000241, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2649, allocations: 62.96 MB / 0.5159 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.001486/0.2665, allocations: 1.356 MB / 0.5172 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006398/0.2671, allocations: 0.5111 MB / 0.5177 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.2672, allocations: 0 / 0.5177 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.2674, allocations: 57.69 kB / 0.5178 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.2676, allocations: 78.42 kB / 0.5178 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.2678, allocations: 115.4 kB / 0.5179 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.268, allocations: 72.48 kB / 0.518 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.268, allocations: 20.78 kB / 0.518 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.489e-05/0.2681, allocations: 29.08 kB / 0.5181 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.2682, allocations: 41.02 kB / 0.5181 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.2682, allocations: 2.938 kB / 0.5181 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.2683, allocations: 44.64 kB / 0.5181 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.2683, allocations: 27.14 kB / 0.5182 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.2684, allocations: 49.17 kB / 0.5182 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.2685, allocations: 86.19 kB / 0.5183 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2685, allocations: 0 / 0.5183 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2685, allocations: 0 / 0.5183 GB, free: 35.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.2685, allocations: 0 / 0.5183 GB, free: 35.36 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.0003626/0.2689, allocations: 403.4 kB / 0.5187 GB, free: 34.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2689, allocations: 13.72 kB / 0.5187 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.269, allocations: 14.14 kB / 0.5187 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.2691, allocations: 197.7 kB / 0.5189 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.2691, allocations: 384 / 0.5189 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.2691, allocations: 3.188 kB / 0.5189 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.2693, allocations: 71.58 kB / 0.519 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2693, allocations: 7.906 kB / 0.519 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.2693, allocations: 0 / 0.519 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2693, allocations: 0 / 0.519 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.2695, allocations: 48.83 kB / 0.519 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.2698, allocations: 309.4 kB / 0.5193 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.27, allocations: 60.09 kB / 0.5194 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.287e-05/0.2701, allocations: 29.81 kB / 0.5194 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.2701, allocations: 4 kB / 0.5194 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.2701, allocations: 30.56 kB / 0.5194 GB, free: 34.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.2701, allocations: 0 / 0.5194 GB, free: 34.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001257/0.2714, allocations: 473.5 kB / 0.5199 GB, free: 34.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.2714, allocations: 55.34 kB / 0.5199 GB, free: 34.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2716, allocations: 194.8 kB / 0.5201 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.2716, allocations: 25.7 kB / 0.5202 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.2716, allocations: 103.4 kB / 0.5203 GB, free: 33.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.2717, allocations: 40.72 kB / 0.5203 GB, free: 33.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.2717, allocations: 0 / 0.5203 GB, free: 33.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.2717, allocations: 328.5 kB / 0.5206 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.2718, allocations: 50.17 kB / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.2719, allocations: 50.36 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.2722, allocations: 119 kB / 0.5208 GB, free: 33.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2722, allocations: 0 / 0.5208 GB, free: 33.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002586/0.2724, allocations: 156.5 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2725, allocations: 10.16 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2725, allocations: 0 / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2725, allocations: 0 / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.2726, allocations: 41.81 kB / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2726, allocations: 2.906 kB / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.2727, allocations: 14.72 kB / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.2727, allocations: 3.062 kB / 0.521 GB, free: 33.34 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.564e-05/0.2728, allocations: 129.4 kB / 0.5212 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.2728, allocations: 12.41 kB / 0.5212 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.2731, allocations: 187.1 kB / 0.5213 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2731, allocations: 6.75 kB / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2731, allocations: 0 / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2731, allocations: 0 / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.2736, allocations: 493.2 kB / 0.5218 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2737, allocations: 0 / 0.5218 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.419e-05/0.2738, allocations: 32.34 kB / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2738, allocations: 0 / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.2738, allocations: 2.656 kB / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2738, allocations: 2.656 kB / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2738, allocations: 3.422 kB / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.2741, allocations: 274.8 kB / 0.5221 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.2741, allocations: 87.45 kB / 0.5222 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.2742, allocations: 4 kB / 0.5222 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.2742, allocations: 19.25 kB / 0.5222 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.2743, allocations: 10.7 kB / 0.5222 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.2743, allocations: 9.938 kB / 0.5223 GB, free: 32.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.027e-05/0.2744, allocations: 147.9 kB / 0.5224 GB, free: 32.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2744, allocations: 0 / 0.5224 GB, free: 32.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.2746, allocations: 25.55 kB / 0.5224 GB, free: 32.32 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.0008354/0.2755, allocations: 447.8 kB / 0.5228 GB, free: 32.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.2758, allocations: 127.4 kB / 0.523 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2758, allocations: 0 / 0.523 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.2759, allocations: 70.38 kB / 0.523 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.2762, allocations: 23.77 kB / 0.5231 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.2766, allocations: 324 kB / 0.5234 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.2768, allocations: 0.7072 MB / 0.5241 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.2768, allocations: 12.66 kB / 0.5241 GB, free: 31.09 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2768, allocations: 2.938 kB / 0.5241 GB, free: 31.09 MB / 378.7 MB Notification: Performance of Templates: time 0.002848/0.2797, allocations: 1.913 MB / 0.5259 GB, free: 30.87 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches