Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009726/0.0009726, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 226.5 MB / 243.4 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009299/0.0009299, allocations: 92.5 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3516/0.3516, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002489/0.0002491, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2744, allocations: 62.96 MB / 0.516 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001489/0.2759, allocations: 1.346 MB / 0.5173 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000678/0.2766, allocations: 0.5251 MB / 0.5178 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.2767, allocations: 3.938 kB / 0.5178 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.2771, allocations: 442.5 kB / 0.5182 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.2774, allocations: 275.1 kB / 0.5185 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.2777, allocations: 154.6 kB / 0.5186 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.2779, allocations: 145.1 kB / 0.5188 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.278, allocations: 20.77 kB / 0.5188 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.092e-05/0.2781, allocations: 103.6 kB / 0.5189 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.2782, allocations: 169.5 kB / 0.519 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.2782, allocations: 2.812 kB / 0.519 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.673e-05/0.2783, allocations: 25.16 kB / 0.5191 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.2784, allocations: 85.09 kB / 0.5191 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.2785, allocations: 115 kB / 0.5193 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.2786, allocations: 190 kB / 0.5194 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.111e-05/0.2787, allocations: 3.328 kB / 0.5194 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.2787, allocations: 0 / 0.5194 GB, free: 35.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2787, allocations: 0 / 0.5194 GB, free: 35.46 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.000492/0.2792, allocations: 0.5991 MB / 0.52 GB, free: 34.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.2792, allocations: 8.688 kB / 0.52 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.2793, allocations: 41.66 kB / 0.5201 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.2793, allocations: 41.62 kB / 0.5201 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.2795, allocations: 305.5 kB / 0.5204 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.2795, allocations: 384 / 0.5204 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.2795, allocations: 7.281 kB / 0.5204 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.2797, allocations: 62.64 kB / 0.5205 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2797, allocations: 0 / 0.5205 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.2797, allocations: 7.25 kB / 0.5205 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2797, allocations: 0 / 0.5205 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.2798, allocations: 39.36 kB / 0.5205 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.2803, allocations: 399.3 kB / 0.5209 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.2806, allocations: 50.17 kB / 0.5209 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.2806, allocations: 23.09 kB / 0.521 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.2807, allocations: 4.062 kB / 0.521 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.2807, allocations: 30.56 kB / 0.521 GB, free: 34.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2807, allocations: 0 / 0.521 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000561/0.2813, allocations: 260.2 kB / 0.5212 GB, free: 33.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.2813, allocations: 51.41 kB / 0.5213 GB, free: 33.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006304/0.2819, allocations: 0.8799 MB / 0.5222 GB, free: 33.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.282, allocations: 33.39 kB / 0.5222 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.2821, allocations: 222.5 kB / 0.5224 GB, free: 33.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.2821, allocations: 14.75 kB / 0.5224 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.2821, allocations: 0 / 0.5224 GB, free: 33.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.2822, allocations: 364.8 kB / 0.5228 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.83e-05/0.2823, allocations: 21.72 kB / 0.5228 GB, free: 33.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.2823, allocations: 32.17 kB / 0.5228 GB, free: 33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.2825, allocations: 61.69 kB / 0.5229 GB, free: 32.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.2825, allocations: 3.938 kB / 0.5229 GB, free: 32.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001945/0.2827, allocations: 130.5 kB / 0.523 GB, free: 32.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2827, allocations: 8.75 kB / 0.523 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.2827, allocations: 0 / 0.523 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2827, allocations: 2.969 kB / 0.523 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.2828, allocations: 15.05 kB / 0.523 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2828, allocations: 0 / 0.523 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.2829, allocations: 13.05 kB / 0.523 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.2829, allocations: 4 kB / 0.523 GB, free: 32.9 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.0001302/0.283, allocations: 215.8 kB / 0.5232 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.2831, allocations: 44 kB / 0.5233 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.2833, allocations: 148.1 kB / 0.5234 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2833, allocations: 4 kB / 0.5234 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2833, allocations: 10.06 kB / 0.5234 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2834, allocations: 7.922 kB / 0.5235 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.2838, allocations: 474.7 kB / 0.5239 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2838, allocations: 4.062 kB / 0.5239 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-05/0.2839, allocations: 16.98 kB / 0.5239 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2839, allocations: 2.469 kB / 0.5239 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.2839, allocations: 3.938 kB / 0.5239 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2839, allocations: 0 / 0.5239 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2839, allocations: 0 / 0.5239 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.2841, allocations: 230.8 kB / 0.5242 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.2841, allocations: 114.9 kB / 0.5243 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.2842, allocations: 7.938 kB / 0.5243 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.2843, allocations: 5.688 kB / 0.5243 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.2843, allocations: 9.844 kB / 0.5243 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.2843, allocations: 2.75 kB / 0.5243 GB, free: 31.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004526/0.2848, allocations: 0.659 MB / 0.5249 GB, free: 31.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2848, allocations: 4 kB / 0.5249 GB, free: 31.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000236/0.285, allocations: 30.92 kB / 0.525 GB, free: 31.73 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.001017/0.286, allocations: 1.055 MB / 0.526 GB, free: 30.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.2862, allocations: 59.91 kB / 0.5261 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2862, allocations: 0 / 0.5261 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.332e-05/0.2863, allocations: 39.03 kB / 0.5261 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.2867, allocations: 25.22 kB / 0.5261 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.2891, allocations: 2.414 MB / 0.5285 GB, free: 29.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.2893, allocations: 0.8248 MB / 0.5293 GB, free: 29.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.2894, allocations: 116 kB / 0.5294 GB, free: 29.01 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2894, allocations: 0 / 0.5294 GB, free: 29.01 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.781/3.071, allocations: 6.654 MB / 0.5359 GB, free: 27.54 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches