Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 198.2 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 226.5 MB / 243.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007387/0.0007384, allocations: 92.3 kB / 295.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2761/0.2761, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002985, allocations: 12 kB / 465.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2757, allocations: 62.97 MB / 0.516 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.001396/0.2772, allocations: 1.36 MB / 0.5173 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005867/0.2778, allocations: 0.5087 MB / 0.5178 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.2778, allocations: 0 / 0.5178 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.278, allocations: 50.25 kB / 0.5178 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.2782, allocations: 67.47 kB / 0.5179 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.2784, allocations: 117.5 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.855e-05/0.2785, allocations: 67.69 kB / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.366e-05/0.2786, allocations: 21.47 kB / 0.5181 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.2787, allocations: 25.89 kB / 0.5181 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.2787, allocations: 33.22 kB / 0.5182 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.2787, allocations: 0 / 0.5182 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.551e-05/0.2788, allocations: 54.64 kB / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.2789, allocations: 13.08 kB / 0.5182 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.2789, allocations: 55.17 kB / 0.5183 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.279, allocations: 82.89 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.279, allocations: 0 / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2791, allocations: 4 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.2791, allocations: 2.812 kB / 0.5184 GB, free: 35.5 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.0003492/0.2794, allocations: 398.5 kB / 0.5187 GB, free: 35.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2795, allocations: 8.75 kB / 0.5187 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.307e-05/0.2795, allocations: 37.75 kB / 0.5188 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.2795, allocations: 10.91 kB / 0.5188 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2796, allocations: 200.8 kB / 0.519 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.2797, allocations: 8.375 kB / 0.519 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.2797, allocations: 4.25 kB / 0.519 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.2798, allocations: 68.27 kB / 0.5191 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2798, allocations: 0 / 0.5191 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.2798, allocations: 0 / 0.5191 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2799, allocations: 2.844 kB / 0.5191 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.28, allocations: 53.86 kB / 0.5191 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.2803, allocations: 304.1 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.2805, allocations: 70.78 kB / 0.5195 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.2805, allocations: 29.84 kB / 0.5195 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.2806, allocations: 0 / 0.5195 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/0.2806, allocations: 37.34 kB / 0.5195 GB, free: 34.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.2806, allocations: 0 / 0.5195 GB, free: 34.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001252/0.2818, allocations: 477.8 kB / 0.52 GB, free: 34.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.2819, allocations: 55.41 kB / 0.52 GB, free: 34.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.282, allocations: 178.4 kB / 0.5202 GB, free: 34.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.282, allocations: 28.64 kB / 0.5202 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.282, allocations: 102.4 kB / 0.5203 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.2821, allocations: 40.78 kB / 0.5204 GB, free: 33.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.2821, allocations: 0 / 0.5204 GB, free: 33.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.2821, allocations: 324.9 kB / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.2823, allocations: 56.62 kB / 0.5207 GB, free: 33.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.2824, allocations: 47.39 kB / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.2826, allocations: 115.5 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2826, allocations: 3.047 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002619/0.2829, allocations: 159.1 kB / 0.5211 GB, free: 33.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.2829, allocations: 5.844 kB / 0.5211 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2829, allocations: 0 / 0.5211 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2829, allocations: 3.938 kB / 0.5211 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.283, allocations: 37.11 kB / 0.5211 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.283, allocations: 0 / 0.5211 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.307e-05/0.2831, allocations: 23.03 kB / 0.5211 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.2831, allocations: 2.625 kB / 0.5211 GB, free: 33.43 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.199e-05/0.2832, allocations: 124.6 kB / 0.5212 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.2832, allocations: 9.406 kB / 0.5213 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.2835, allocations: 178.5 kB / 0.5214 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2835, allocations: 6.875 kB / 0.5214 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2835, allocations: 0 / 0.5214 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.2836, allocations: 4 kB / 0.5214 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.284, allocations: 495 kB / 0.5219 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2841, allocations: 3.984 kB / 0.5219 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.2842, allocations: 32 kB / 0.5219 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2842, allocations: 0 / 0.5219 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2842, allocations: 6.969 kB / 0.5219 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2842, allocations: 2.969 kB / 0.5219 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2842, allocations: 4 kB / 0.522 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.2845, allocations: 272.9 kB / 0.5222 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.2845, allocations: 91.83 kB / 0.5223 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.2845, allocations: 6.125 kB / 0.5223 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.2846, allocations: 11.95 kB / 0.5223 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.2847, allocations: 13.11 kB / 0.5223 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.2847, allocations: 7.031 kB / 0.5223 GB, free: 32.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.644e-05/0.2848, allocations: 141.4 kB / 0.5225 GB, free: 32.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2848, allocations: 0 / 0.5225 GB, free: 32.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000233/0.285, allocations: 21.44 kB / 0.5225 GB, free: 32.42 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.00116/0.2862, allocations: 1.142 MB / 0.5236 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.2865, allocations: 130.3 kB / 0.5237 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2865, allocations: 0 / 0.5237 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.2866, allocations: 67.89 kB / 0.5238 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.287, allocations: 22.88 kB / 0.5238 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.2881, allocations: 0.876 MB / 0.5247 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.2882, allocations: 0.705 MB / 0.5254 GB, free: 30.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.2883, allocations: 34.81 kB / 0.5254 GB, free: 30.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2883, allocations: 3.938 kB / 0.5254 GB, free: 30.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.747/3.035, allocations: 2.277 MB / 0.5276 GB, free: 29.99 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches