Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 198.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.214/1.214, allocations: 226.5 MB / 243.4 MB, free: 8.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007738/0.0007737, allocations: 99.91 kB / 295.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2768/0.2768, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002513/0.0002514, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2776, allocations: 62.96 MB / 0.516 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001365/0.279, allocations: 1.283 MB / 0.5172 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005978/0.2796, allocations: 0.4896 MB / 0.5177 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.2796, allocations: 4 kB / 0.5177 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.2798, allocations: 23.61 kB / 0.5177 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.28, allocations: 62.12 kB / 0.5178 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.2802, allocations: 74.66 kB / 0.5178 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.571e-05/0.2803, allocations: 56.64 kB / 0.5179 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.899e-05/0.2804, allocations: 16.8 kB / 0.5179 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.2804, allocations: 17.12 kB / 0.5179 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.2805, allocations: 23 kB / 0.518 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.2805, allocations: 0 / 0.518 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.558e-05/0.2805, allocations: 25.59 kB / 0.518 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.2806, allocations: 21.5 kB / 0.518 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.2806, allocations: 40.42 kB / 0.518 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.944e-05/0.2807, allocations: 58.77 kB / 0.5181 GB, free: 35.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2807, allocations: 0 / 0.5181 GB, free: 35.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.2807, allocations: 6.875 kB / 0.5181 GB, free: 35.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.2807, allocations: 0 / 0.5181 GB, free: 35.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003043/0.281, allocations: 369 kB / 0.5185 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2811, allocations: 8.25 kB / 0.5185 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.2811, allocations: 33.66 kB / 0.5185 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.098e-05/0.2811, allocations: 7.844 kB / 0.5185 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.2813, allocations: 194.8 kB / 0.5187 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.2813, allocations: 4.375 kB / 0.5187 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.2813, allocations: 7.219 kB / 0.5187 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.2814, allocations: 55.7 kB / 0.5188 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2814, allocations: 11.88 kB / 0.5188 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.2815, allocations: 0 / 0.5188 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2815, allocations: 3.984 kB / 0.5188 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.2815, allocations: 27.94 kB / 0.5188 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.2818, allocations: 267.7 kB / 0.519 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.282, allocations: 58.08 kB / 0.5191 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/0.282, allocations: 12.89 kB / 0.5191 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.282, allocations: 0 / 0.5191 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.131e-05/0.2821, allocations: 33.84 kB / 0.5191 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.2821, allocations: 0 / 0.5191 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004639/0.2825, allocations: 163.2 kB / 0.5193 GB, free: 34.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/0.2826, allocations: 51.41 kB / 0.5194 GB, free: 34.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2827, allocations: 153.8 kB / 0.5195 GB, free: 34.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.657e-06/0.2827, allocations: 29.7 kB / 0.5195 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.2827, allocations: 94.41 kB / 0.5196 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.2827, allocations: 14.62 kB / 0.5196 GB, free: 34.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.2828, allocations: 0 / 0.5196 GB, free: 34.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.2828, allocations: 325 kB / 0.5199 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.371e-05/0.2829, allocations: 21.72 kB / 0.52 GB, free: 33.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.469e-05/0.2829, allocations: 24.25 kB / 0.52 GB, free: 33.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.2831, allocations: 51.02 kB / 0.52 GB, free: 33.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.2831, allocations: 0 / 0.52 GB, free: 33.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000155/0.2832, allocations: 96.7 kB / 0.5201 GB, free: 33.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2833, allocations: 5.688 kB / 0.5201 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2833, allocations: 0 / 0.5201 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.2833, allocations: 0 / 0.5201 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.2833, allocations: 15 kB / 0.5201 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.2833, allocations: 0 / 0.5201 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.2834, allocations: 13.27 kB / 0.5202 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.2834, allocations: 6.875 kB / 0.5202 GB, free: 33.65 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 5.015e-05/0.2835, allocations: 112.7 kB / 0.5203 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.2835, allocations: 6.906 kB / 0.5203 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.2837, allocations: 104.3 kB / 0.5204 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2837, allocations: 4 kB / 0.5204 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2837, allocations: 0 / 0.5204 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2837, allocations: 3.938 kB / 0.5204 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.284, allocations: 356.3 kB / 0.5207 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.284, allocations: 0 / 0.5207 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.2841, allocations: 20.56 kB / 0.5207 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2841, allocations: 0 / 0.5207 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2841, allocations: 7.328 kB / 0.5208 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2841, allocations: 15.22 kB / 0.5208 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2841, allocations: 0 / 0.5208 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.2843, allocations: 182.8 kB / 0.5209 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.2843, allocations: 83.95 kB / 0.521 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2843, allocations: 0 / 0.521 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.443e-05/0.2844, allocations: 12.89 kB / 0.521 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.2844, allocations: 6.906 kB / 0.521 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/0.2844, allocations: 3.328 kB / 0.521 GB, free: 32.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.493e-05/0.2845, allocations: 112.1 kB / 0.5212 GB, free: 32.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2845, allocations: 7 kB / 0.5212 GB, free: 32.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002114/0.2847, allocations: 13 kB / 0.5212 GB, free: 32.78 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.0009785/0.2857, allocations: 1.003 MB / 0.5222 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.2859, allocations: 55.75 kB / 0.5222 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2859, allocations: 0 / 0.5222 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.646e-05/0.286, allocations: 35.58 kB / 0.5222 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.2862, allocations: 21.69 kB / 0.5223 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007807/0.287, allocations: 0.6007 MB / 0.5228 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.2872, allocations: 0.6906 MB / 0.5235 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.2872, allocations: 26.31 kB / 0.5235 GB, free: 30.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2872, allocations: 4 kB / 0.5235 GB, free: 30.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.749/3.036, allocations: 1.684 MB / 0.5252 GB, free: 30.62 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches