Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 198.2 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.5 MB / 243.4 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000734/0.000734, allocations: 106.8 kB / 295.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2801/0.2801, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002286, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2725, allocations: 62.96 MB / 0.516 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.001424/0.274, allocations: 1.302 MB / 0.5172 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006434/0.2747, allocations: 0.4957 MB / 0.5177 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.2747, allocations: 0 / 0.5177 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.2749, allocations: 81.23 kB / 0.5178 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.2751, allocations: 78.64 kB / 0.5179 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.2753, allocations: 81.66 kB / 0.5179 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.2755, allocations: 77.12 kB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.603e-05/0.2756, allocations: 19.78 kB / 0.518 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.2756, allocations: 29.94 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.2757, allocations: 45.39 kB / 0.5181 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.2757, allocations: 3 kB / 0.5181 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.697e-05/0.2758, allocations: 35.78 kB / 0.5181 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.2758, allocations: 23.78 kB / 0.5182 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.2759, allocations: 51.08 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.276, allocations: 76.19 kB / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.276, allocations: 4 kB / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.276, allocations: 0 / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.276, allocations: 0 / 0.5183 GB, free: 35.69 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.0003099/0.2763, allocations: 394 kB / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2764, allocations: 11.25 kB / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.401e-05/0.2764, allocations: 37.98 kB / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.2764, allocations: 18.53 kB / 0.5187 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2765, allocations: 198.8 kB / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-06/0.2766, allocations: 384 / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.2766, allocations: 3.406 kB / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.2767, allocations: 62.69 kB / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2767, allocations: 0 / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.2767, allocations: 2.781 kB / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2767, allocations: 4 kB / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.36e-05/0.2768, allocations: 42.11 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.2771, allocations: 299.5 kB / 0.5193 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.828e-05/0.2772, allocations: 41.28 kB / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.2772, allocations: 20.69 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.2772, allocations: 2.969 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.2773, allocations: 30.56 kB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2773, allocations: 0 / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007253/0.278, allocations: 251.7 kB / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.278, allocations: 55.34 kB / 0.5197 GB, free: 34.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2782, allocations: 220.2 kB / 0.5199 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.2782, allocations: 29.7 kB / 0.5199 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.2782, allocations: 109.3 kB / 0.52 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.2783, allocations: 26.66 kB / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-06/0.2783, allocations: 2.938 kB / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.2783, allocations: 329 kB / 0.5204 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.2784, allocations: 23.97 kB / 0.5204 GB, free: 33.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/0.2784, allocations: 28.75 kB / 0.5204 GB, free: 33.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.2786, allocations: 72.34 kB / 0.5205 GB, free: 33.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2786, allocations: 0 / 0.5205 GB, free: 33.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001709/0.2788, allocations: 113.8 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.2788, allocations: 9.25 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2788, allocations: 0 / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.2788, allocations: 0 / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.2789, allocations: 21.89 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2789, allocations: 6.781 kB / 0.5207 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.97e-05/0.2789, allocations: 9.844 kB / 0.5207 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.279, allocations: 0 / 0.5207 GB, free: 33.69 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 (8): * Single equations (assignments): 8 * 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.868e-05/0.279, allocations: 128.8 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.2791, allocations: 9.938 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.2793, allocations: 129 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2793, allocations: 3.422 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2793, allocations: 3.938 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2793, allocations: 4 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.2797, allocations: 404.6 kB / 0.5213 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2797, allocations: 0 / 0.5213 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.957e-05/0.2797, allocations: 28.56 kB / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2798, allocations: 3.656 kB / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2798, allocations: 4 kB / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2798, allocations: 3.531 kB / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2798, allocations: 0 / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.28, allocations: 215.4 kB / 0.5216 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.28, allocations: 95.03 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.28, allocations: 10.69 kB / 0.5217 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.2801, allocations: 9.844 kB / 0.5217 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.2801, allocations: 6.672 kB / 0.5217 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.2801, allocations: 2.812 kB / 0.5217 GB, free: 32.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.758e-05/0.2802, allocations: 167.6 kB / 0.5218 GB, free: 32.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2802, allocations: 0 / 0.5218 GB, free: 32.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.2805, allocations: 23.03 kB / 0.5219 GB, free: 32.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001067/0.2815, allocations: 1.084 MB / 0.5229 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.2817, allocations: 70.58 kB / 0.523 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2817, allocations: 0 / 0.523 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.2818, allocations: 45.61 kB / 0.523 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.2821, allocations: 13.22 kB / 0.523 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008906/0.283, allocations: 0.8034 MB / 0.5238 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.2831, allocations: 0.7085 MB / 0.5245 GB, free: 30.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.2832, allocations: 36.58 kB / 0.5245 GB, free: 30.62 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2832, allocations: 0 / 0.5245 GB, free: 30.62 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.731/3.014, allocations: 2.17 MB / 0.5267 GB, free: 30.39 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches