Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009872/0.0009872, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 226.6 MB / 243.1 MB, free: 14.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009108/0.0009108, allocations: 99.75 kB / 295.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1985/0.1985, allocations: 44.83 MB / 392 MB, free: 9.301 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000233/0.000233, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09536, allocations: 62.96 MB / 0.5153 GB, free: 2.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.001771/0.09717, allocations: 1.355 MB / 0.5167 GB, free: 1.371 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007271/0.09791, allocations: 499.2 kB / 0.5171 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.09796, allocations: 4 kB / 0.5171 GB, free: 0.875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.09818, allocations: 71.77 kB / 0.5172 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.09838, allocations: 91.78 kB / 0.5173 GB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.09867, allocations: 110 kB / 0.5174 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.0988, allocations: 79.73 kB / 0.5175 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.874e-05/0.09889, allocations: 12.23 kB / 0.5175 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.083e-05/0.09895, allocations: 31.84 kB / 0.5175 GB, free: 496 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.103e-05/0.09904, allocations: 47.81 kB / 0.5176 GB, free: 448 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.09906, allocations: 4 kB / 0.5176 GB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.354e-05/0.09915, allocations: 36 kB / 0.5176 GB, free: 408 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.09921, allocations: 31.89 kB / 0.5176 GB, free: 376 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.09925, allocations: 37.58 kB / 0.5177 GB, free: 332 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.09938, allocations: 83.83 kB / 0.5177 GB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.09939, allocations: 0 / 0.5177 GB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09939, allocations: 0 / 0.5177 GB, free: 248 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.0994, allocations: 4 kB / 0.5177 GB, free: 244 kB / 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.1768/0.2762, allocations: 408.3 kB / 0.5181 GB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2763, allocations: 9.094 kB / 0.5181 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.2763, allocations: 13.25 kB / 0.5182 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.2765, allocations: 200 kB / 0.5183 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2765, allocations: 3 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.2765, allocations: 5.406 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.2767, allocations: 68.66 kB / 0.5184 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2767, allocations: 1.125 kB / 0.5184 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.2768, allocations: 5.469 kB / 0.5184 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.2768, allocations: 1.469 kB / 0.5184 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.2769, allocations: 46.27 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.2773, allocations: 306.9 kB / 0.5188 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.2775, allocations: 63.41 kB / 0.5188 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.077e-05/0.2776, allocations: 31.81 kB / 0.5189 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.2776, allocations: 1.641 kB / 0.5189 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.142e-05/0.2776, allocations: 33.33 kB / 0.5189 GB, free: 11.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.2776, allocations: 0.9688 kB / 0.5189 GB, free: 11.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001471/0.2791, allocations: 472.5 kB / 0.5193 GB, free: 11.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.2791, allocations: 54.45 kB / 0.5194 GB, free: 11.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.2793, allocations: 211.8 kB / 0.5196 GB, free: 10.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.2793, allocations: 28.17 kB / 0.5196 GB, free: 10.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.2794, allocations: 104.7 kB / 0.5197 GB, free: 10.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.2794, allocations: 44.95 kB / 0.5198 GB, free: 10.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.2794, allocations: 2.812 kB / 0.5198 GB, free: 10.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.2795, allocations: 324.9 kB / 0.5201 GB, free: 10.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.2796, allocations: 47.75 kB / 0.5201 GB, free: 10.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.2798, allocations: 54.14 kB / 0.5202 GB, free: 10.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.2799, allocations: 56.09 kB / 0.5202 GB, free: 10.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2799, allocations: 0.9688 kB / 0.5202 GB, free: 10.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003046/0.2802, allocations: 164.5 kB / 0.5204 GB, free: 10.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2802, allocations: 7.969 kB / 0.5204 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2803, allocations: 0.8438 kB / 0.5204 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2803, allocations: 9.781 kB / 0.5204 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.2804, allocations: 34.41 kB / 0.5204 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.2804, allocations: 1.375 kB / 0.5204 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.2805, allocations: 14.98 kB / 0.5205 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.2805, allocations: 2.5 kB / 0.5205 GB, free: 10.45 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 (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 7.728e-05/0.2806, allocations: 131.9 kB / 0.5206 GB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.2806, allocations: 13.84 kB / 0.5206 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.281, allocations: 184.3 kB / 0.5208 GB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.281, allocations: 5.156 kB / 0.5208 GB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.281, allocations: 5.172 kB / 0.5208 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.281, allocations: 3.094 kB / 0.5208 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.2816, allocations: 490.6 kB / 0.5213 GB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2816, allocations: 0.6562 kB / 0.5213 GB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.2817, allocations: 34.2 kB / 0.5213 GB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2817, allocations: 5.406 kB / 0.5213 GB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.2817, allocations: 3.234 kB / 0.5213 GB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2817, allocations: 1.375 kB / 0.5213 GB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2818, allocations: 1.344 kB / 0.5213 GB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.2821, allocations: 267.8 kB / 0.5216 GB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.2821, allocations: 91.66 kB / 0.5216 GB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.2821, allocations: 8.281 kB / 0.5216 GB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.2822, allocations: 18.3 kB / 0.5217 GB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.2823, allocations: 11.17 kB / 0.5217 GB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2823, allocations: 2.812 kB / 0.5217 GB, free: 9.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.2824, allocations: 159.2 kB / 0.5218 GB, free: 9.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2824, allocations: 0 / 0.5218 GB, free: 9.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.2826, allocations: 27.91 kB / 0.5219 GB, free: 9.586 MB / 346.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.0007893/0.2834, allocations: 461.1 kB / 0.5223 GB, free: 9.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.2838, allocations: 119 kB / 0.5224 GB, free: 9.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2838, allocations: 1.562 kB / 0.5224 GB, free: 9.363 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.2839, allocations: 71.06 kB / 0.5225 GB, free: 9.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.2842, allocations: 18.81 kB / 0.5225 GB, free: 9.336 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.2847, allocations: 340.1 kB / 0.5228 GB, free: 9.082 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.2848, allocations: 0.7123 MB / 0.5235 GB, free: 8.383 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.2848, allocations: 16.22 kB / 0.5235 GB, free: 8.375 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2848, allocations: 0 / 0.5235 GB, free: 8.375 MB / 346.7 MB Notification: Performance of Templates: time 0.003363/0.2882, allocations: 1.954 MB / 0.5254 GB, free: 8.152 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches