Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 199.7 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.335/1.335, allocations: 226.5 MB / 243.4 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000804/0.0008041, allocations: 92.94 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2849/0.2849, allocations: 44.81 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002588, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.275, allocations: 62.96 MB / 0.516 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.00146/0.2765, allocations: 1.367 MB / 0.5173 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006223/0.2771, allocations: 0.5072 MB / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.2772, allocations: 0 / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.2774, allocations: 37.55 kB / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.2776, allocations: 77.48 kB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.2778, allocations: 122.9 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.782e-05/0.2779, allocations: 68.48 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.361e-05/0.278, allocations: 18.44 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.074e-05/0.2781, allocations: 23.02 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.2781, allocations: 42.19 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.2782, allocations: 2.938 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.166e-05/0.2782, allocations: 38.78 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.2783, allocations: 27.41 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.2783, allocations: 51.45 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.2784, allocations: 80.48 kB / 0.5184 GB, free: 35.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2785, allocations: 2.844 kB / 0.5184 GB, free: 35.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2785, allocations: 0 / 0.5184 GB, free: 35.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2785, allocations: 0 / 0.5184 GB, free: 35.58 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.0003804/0.2789, allocations: 406.5 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2789, allocations: 11 kB / 0.5188 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.476e-05/0.2789, allocations: 34.75 kB / 0.5188 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.279, allocations: 9.344 kB / 0.5188 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.2791, allocations: 203.7 kB / 0.519 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.2791, allocations: 384 / 0.519 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.2791, allocations: 7.406 kB / 0.519 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.2793, allocations: 73.84 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2793, allocations: 0 / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.2793, allocations: 0 / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.2793, allocations: 3.938 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.2795, allocations: 48.31 kB / 0.5191 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.2797, allocations: 317.3 kB / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.2799, allocations: 62.31 kB / 0.5195 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.28, allocations: 30.86 kB / 0.5195 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.28, allocations: 3.984 kB / 0.5195 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.133e-05/0.2801, allocations: 33.69 kB / 0.5195 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2801, allocations: 0 / 0.5195 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001304/0.2814, allocations: 471.1 kB / 0.52 GB, free: 34.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.2814, allocations: 54.38 kB / 0.52 GB, free: 34.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.2815, allocations: 180.2 kB / 0.5202 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.2815, allocations: 25.7 kB / 0.5202 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.2816, allocations: 101.3 kB / 0.5203 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.2816, allocations: 41.7 kB / 0.5204 GB, free: 33.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.2816, allocations: 6.844 kB / 0.5204 GB, free: 33.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.911e-05/0.2817, allocations: 321 kB / 0.5207 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.2818, allocations: 56.41 kB / 0.5207 GB, free: 33.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2819, allocations: 51.97 kB / 0.5208 GB, free: 33.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.2821, allocations: 116.8 kB / 0.5209 GB, free: 33.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2822, allocations: 0 / 0.5209 GB, free: 33.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002671/0.2824, allocations: 158.5 kB / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2824, allocations: 5.844 kB / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2825, allocations: 0 / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2825, allocations: 10.22 kB / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.2826, allocations: 31.25 kB / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2826, allocations: 0 / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.381e-05/0.2827, allocations: 20.14 kB / 0.5211 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.2827, allocations: 6.969 kB / 0.5211 GB, free: 33.5 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.911e-05/0.2828, allocations: 126.3 kB / 0.5213 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.2828, allocations: 9.75 kB / 0.5213 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.2831, allocations: 183.2 kB / 0.5214 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2831, allocations: 4.5 kB / 0.5214 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2831, allocations: 0 / 0.5214 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2831, allocations: 2.844 kB / 0.5214 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.2836, allocations: 490.3 kB / 0.5219 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2837, allocations: 4.094 kB / 0.5219 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.119e-05/0.2838, allocations: 41.88 kB / 0.522 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2838, allocations: 2.812 kB / 0.522 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.2838, allocations: 2.844 kB / 0.522 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2838, allocations: 0 / 0.522 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2838, allocations: 0 / 0.522 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.2841, allocations: 274.8 kB / 0.5222 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.2841, allocations: 88.05 kB / 0.5223 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.2841, allocations: 10.59 kB / 0.5223 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.2842, allocations: 15.19 kB / 0.5223 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.2843, allocations: 13.05 kB / 0.5223 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.2843, allocations: 2.906 kB / 0.5223 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.555e-05/0.2844, allocations: 138.5 kB / 0.5225 GB, free: 32.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2844, allocations: 0 / 0.5225 GB, free: 32.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.2846, allocations: 24.19 kB / 0.5225 GB, free: 32.49 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.001181/0.2858, allocations: 1.141 MB / 0.5236 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.2861, allocations: 117.1 kB / 0.5237 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2861, allocations: 4 kB / 0.5237 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.2863, allocations: 69.88 kB / 0.5238 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.2866, allocations: 17.11 kB / 0.5238 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.2877, allocations: 0.8758 MB / 0.5247 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.2878, allocations: 0.7098 MB / 0.5254 GB, free: 30.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.2879, allocations: 35.64 kB / 0.5254 GB, free: 30.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2879, allocations: 0 / 0.5254 GB, free: 30.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.718/3.006, allocations: 2.279 MB / 0.5276 GB, free: 30.06 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches