Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009682/0.0009684, allocations: 199 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.5 MB / 243.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000741/0.0007409, allocations: 91.19 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1844/0.1844, allocations: 44.83 MB / 392 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002422, allocations: 8 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09174/0.092, allocations: 62.95 MB / 0.5153 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.001869/0.09391, allocations: 1.366 MB / 0.5167 GB, free: 1.395 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008117/0.09474, allocations: 0.4915 MB / 0.5171 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.09482, allocations: 4 kB / 0.5171 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.09529, allocations: 443.2 kB / 0.5176 GB, free: 472 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.09567, allocations: 279.4 kB / 0.5178 GB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.096, allocations: 109.9 kB / 0.5179 GB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1748/0.2708, allocations: 136.5 kB / 0.5181 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2709, allocations: 17.39 kB / 0.5181 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.2711, allocations: 104.1 kB / 0.5182 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.2713, allocations: 168.5 kB / 0.5183 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.2714, allocations: 2.375 kB / 0.5183 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.2715, allocations: 43.31 kB / 0.5184 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.2716, allocations: 84 kB / 0.5185 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.2717, allocations: 65.92 kB / 0.5185 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.272, allocations: 197.9 kB / 0.5187 GB, free: 10.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.272, allocations: 0.9375 kB / 0.5187 GB, free: 10.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.272, allocations: 0 / 0.5187 GB, free: 10.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.272, allocations: 0 / 0.5187 GB, free: 10.22 MB / 346.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.0005496/0.2725, allocations: 0.6015 MB / 0.5193 GB, free: 9.715 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2726, allocations: 8.953 kB / 0.5193 GB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.2726, allocations: 42.22 kB / 0.5193 GB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.2729, allocations: 282.4 kB / 0.5196 GB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.2729, allocations: 2.469 kB / 0.5196 GB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.2729, allocations: 4.281 kB / 0.5196 GB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.2731, allocations: 64.23 kB / 0.5197 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2731, allocations: 0.7031 kB / 0.5197 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2731, allocations: 0.75 kB / 0.5197 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.2731, allocations: 1.219 kB / 0.5197 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.2732, allocations: 31.19 kB / 0.5197 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.2736, allocations: 402.2 kB / 0.5201 GB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.7e-05/0.2737, allocations: 47.09 kB / 0.5201 GB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.2738, allocations: 24.47 kB / 0.5202 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.2738, allocations: 2.188 kB / 0.5202 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.2738, allocations: 32.5 kB / 0.5202 GB, free: 9.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.582e-06/0.2738, allocations: 1.438 kB / 0.5202 GB, free: 9.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008775/0.2747, allocations: 332.3 kB / 0.5205 GB, free: 8.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.2747, allocations: 56.53 kB / 0.5206 GB, free: 8.891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008033/0.2756, allocations: 0.8703 MB / 0.5214 GB, free: 8.773 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.2756, allocations: 26.8 kB / 0.5215 GB, free: 8.742 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2757, allocations: 226.4 kB / 0.5217 GB, free: 8.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.2757, allocations: 24.86 kB / 0.5217 GB, free: 8.641 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/0.2757, allocations: 4.688 kB / 0.5217 GB, free: 8.641 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.2758, allocations: 361.3 kB / 0.522 GB, free: 8.328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-05/0.2759, allocations: 33.02 kB / 0.5221 GB, free: 8.324 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.276, allocations: 27.3 kB / 0.5221 GB, free: 8.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/0.2761, allocations: 32.14 kB / 0.5221 GB, free: 8.324 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2761, allocations: 0 / 0.5221 GB, free: 8.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002146/0.2763, allocations: 144.7 kB / 0.5223 GB, free: 8.266 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2763, allocations: 6.188 kB / 0.5223 GB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2763, allocations: 1.656 kB / 0.5223 GB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2764, allocations: 3.953 kB / 0.5223 GB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.2765, allocations: 26.84 kB / 0.5223 GB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2765, allocations: 1.781 kB / 0.5223 GB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.2765, allocations: 10.72 kB / 0.5223 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.2765, allocations: 5.688 kB / 0.5223 GB, free: 8.25 MB / 346.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.0001626/0.2767, allocations: 209.2 kB / 0.5225 GB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.2768, allocations: 42.97 kB / 0.5226 GB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.2771, allocations: 170.9 kB / 0.5227 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2771, allocations: 1.578 kB / 0.5227 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2771, allocations: 9.016 kB / 0.5227 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2771, allocations: 0.5625 kB / 0.5227 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.2777, allocations: 0.5102 MB / 0.5232 GB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2777, allocations: 0 / 0.5232 GB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.2778, allocations: 19.86 kB / 0.5233 GB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2778, allocations: 5.953 kB / 0.5233 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.2778, allocations: 1.406 kB / 0.5233 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2778, allocations: 2.359 kB / 0.5233 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2778, allocations: 0 / 0.5233 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.278, allocations: 248 kB / 0.5235 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.2781, allocations: 112.5 kB / 0.5236 GB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.2781, allocations: 6.203 kB / 0.5236 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-05/0.2782, allocations: 9.75 kB / 0.5236 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.2783, allocations: 9.625 kB / 0.5236 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2783, allocations: 2.188 kB / 0.5236 GB, free: 7.449 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006037/0.2789, allocations: 0.6535 MB / 0.5243 GB, free: 7.363 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2789, allocations: 0.9375 kB / 0.5243 GB, free: 7.363 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.2791, allocations: 30.81 kB / 0.5243 GB, free: 7.359 MB / 346.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.0008472/0.28, allocations: 453.9 kB / 0.5247 GB, free: 7.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.2803, allocations: 74.92 kB / 0.5248 GB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2803, allocations: 4 kB / 0.5248 GB, free: 7.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.883e-05/0.2804, allocations: 36.3 kB / 0.5248 GB, free: 7.137 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.2808, allocations: 26.45 kB / 0.5249 GB, free: 7.137 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.2818, allocations: 0.9025 MB / 0.5257 GB, free: 6.715 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.2821, allocations: 0.8199 MB / 0.5265 GB, free: 6.008 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.2822, allocations: 24.28 kB / 0.5266 GB, free: 5.992 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2822, allocations: 0 / 0.5266 GB, free: 5.992 MB / 346.7 MB Notification: Performance of Templates: time 0.007746/0.2899, allocations: 3.888 MB / 0.5304 GB, free: 5.164 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches