Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009585/0.0009584, allocations: 193.9 kB / 16.09 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 226.5 MB / 243.4 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008257/0.0008256, allocations: 102.4 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.315/0.315, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.0002919, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2736, allocations: 62.96 MB / 0.516 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.001569/0.2752, allocations: 1.343 MB / 0.5173 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007086/0.276, allocations: 0.5283 MB / 0.5178 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.276, allocations: 3.938 kB / 0.5178 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.2765, allocations: 439.4 kB / 0.5182 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.2768, allocations: 273.5 kB / 0.5185 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.2771, allocations: 157.6 kB / 0.5186 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.2773, allocations: 144.9 kB / 0.5188 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.051e-05/0.2774, allocations: 23.84 kB / 0.5188 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.999e-05/0.2775, allocations: 101.8 kB / 0.5189 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.2776, allocations: 170.7 kB / 0.519 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.2776, allocations: 0 / 0.519 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.714e-05/0.2777, allocations: 23.94 kB / 0.5191 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.2778, allocations: 85.61 kB / 0.5191 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.2779, allocations: 117.1 kB / 0.5193 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.278, allocations: 192.6 kB / 0.5194 GB, free: 35.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2781, allocations: 0 / 0.5194 GB, free: 35.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2781, allocations: 4 kB / 0.5194 GB, free: 35.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.2781, allocations: 0 / 0.5194 GB, free: 35.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004985/0.2786, allocations: 0.5999 MB / 0.52 GB, free: 34.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2786, allocations: 8.688 kB / 0.52 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.2786, allocations: 40.83 kB / 0.5201 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.2787, allocations: 41.66 kB / 0.5201 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.2789, allocations: 299.2 kB / 0.5204 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.2789, allocations: 384 / 0.5204 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.2789, allocations: 7.344 kB / 0.5204 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.2791, allocations: 75.14 kB / 0.5205 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2791, allocations: 0 / 0.5205 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.2791, allocations: 0 / 0.5205 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2791, allocations: 2.906 kB / 0.5205 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.15e-05/0.2792, allocations: 31.25 kB / 0.5205 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.2796, allocations: 404.7 kB / 0.5209 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.2798, allocations: 44.39 kB / 0.5209 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.2799, allocations: 23.09 kB / 0.521 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2799, allocations: 0 / 0.521 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.2799, allocations: 34.56 kB / 0.521 GB, free: 34.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.2799, allocations: 0 / 0.521 GB, free: 34.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005544/0.2805, allocations: 262.9 kB / 0.5212 GB, free: 34.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/0.2805, allocations: 54.34 kB / 0.5213 GB, free: 33.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000617/0.2811, allocations: 0.8792 MB / 0.5222 GB, free: 33.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.2811, allocations: 25.7 kB / 0.5222 GB, free: 33.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2813, allocations: 225.7 kB / 0.5224 GB, free: 33.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.2813, allocations: 11.81 kB / 0.5224 GB, free: 33.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/0.2813, allocations: 2.844 kB / 0.5224 GB, free: 33.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.866e-05/0.2814, allocations: 364.5 kB / 0.5228 GB, free: 33.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.2814, allocations: 25.78 kB / 0.5228 GB, free: 33.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.2815, allocations: 24.62 kB / 0.5228 GB, free: 33.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.2816, allocations: 69.45 kB / 0.5229 GB, free: 33.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2816, allocations: 3.938 kB / 0.5229 GB, free: 33.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001839/0.2818, allocations: 128.3 kB / 0.523 GB, free: 32.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2819, allocations: 5.969 kB / 0.523 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2819, allocations: 0 / 0.523 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2819, allocations: 0 / 0.523 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.282, allocations: 19.64 kB / 0.523 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.282, allocations: 0 / 0.523 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.282, allocations: 9.906 kB / 0.523 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.282, allocations: 3.234 kB / 0.523 GB, free: 32.96 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 (5): * Single equations (assignments): 5 * 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.0001326/0.2822, allocations: 211.2 kB / 0.5232 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.2822, allocations: 43.12 kB / 0.5233 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.2825, allocations: 158.1 kB / 0.5234 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2825, allocations: 0 / 0.5234 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2825, allocations: 0 / 0.5234 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2825, allocations: 6.625 kB / 0.5234 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.283, allocations: 491.6 kB / 0.5239 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.283, allocations: 3.281 kB / 0.5239 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.283, allocations: 11.59 kB / 0.5239 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.283, allocations: 0 / 0.5239 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.283, allocations: 6.594 kB / 0.5239 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2831, allocations: 3.375 kB / 0.5239 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2831, allocations: 0 / 0.5239 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.2833, allocations: 225.8 kB / 0.5241 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.2833, allocations: 119.5 kB / 0.5243 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.2834, allocations: 3.938 kB / 0.5243 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.2834, allocations: 9.844 kB / 0.5243 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.2835, allocations: 10.64 kB / 0.5243 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.2835, allocations: 0 / 0.5243 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004701/0.284, allocations: 0.6594 MB / 0.5249 GB, free: 31.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.284, allocations: 0 / 0.5249 GB, free: 31.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000238/0.2842, allocations: 32.58 kB / 0.525 GB, free: 31.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001142/0.2854, allocations: 1.05 MB / 0.526 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.2856, allocations: 63.86 kB / 0.526 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2856, allocations: 0 / 0.526 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/0.2857, allocations: 35.88 kB / 0.5261 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.286, allocations: 31.75 kB / 0.5261 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.2884, allocations: 2.412 MB / 0.5285 GB, free: 29.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.2886, allocations: 0.8287 MB / 0.5293 GB, free: 29.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.2887, allocations: 115.8 kB / 0.5294 GB, free: 29.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2887, allocations: 0 / 0.5294 GB, free: 29.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.782/3.07, allocations: 6.654 MB / 0.5359 GB, free: 27.6 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches