Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 198.4 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.334/1.334, allocations: 226.5 MB / 243.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008647/0.0008649, allocations: 92.58 kB / 295.5 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2873/0.2873, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002459/0.0002459, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2817, allocations: 62.96 MB / 0.516 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.00154/0.2833, allocations: 1.313 MB / 0.5172 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006531/0.2839, allocations: 0.4966 MB / 0.5177 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.284, allocations: 7.906 kB / 0.5177 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.2842, allocations: 122.4 kB / 0.5178 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.2845, allocations: 106.7 kB / 0.518 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.2847, allocations: 98.22 kB / 0.518 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.2848, allocations: 85.98 kB / 0.5181 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.2849, allocations: 17.77 kB / 0.5181 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.84e-05/0.285, allocations: 35.77 kB / 0.5182 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.708e-05/0.2851, allocations: 69.91 kB / 0.5182 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.2851, allocations: 3 kB / 0.5182 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.2852, allocations: 43.59 kB / 0.5183 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.2852, allocations: 25.16 kB / 0.5183 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.2853, allocations: 62.75 kB / 0.5184 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.2854, allocations: 82.59 kB / 0.5185 GB, free: 35.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2854, allocations: 0 / 0.5185 GB, free: 35.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2854, allocations: 0 / 0.5185 GB, free: 35.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.2854, allocations: 0 / 0.5185 GB, free: 35.79 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.0003554/0.2858, allocations: 418.3 kB / 0.5188 GB, free: 35.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2858, allocations: 15.56 kB / 0.5189 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.2858, allocations: 38.69 kB / 0.5189 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.2859, allocations: 14 kB / 0.5189 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.286, allocations: 214.4 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.286, allocations: 7.281 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.2861, allocations: 3.25 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.2862, allocations: 55.84 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2862, allocations: 3.906 kB / 0.5192 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.2862, allocations: 0 / 0.5192 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2862, allocations: 4 kB / 0.5192 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.561e-05/0.2863, allocations: 39.03 kB / 0.5192 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.2866, allocations: 320.4 kB / 0.5195 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.005e-05/0.2867, allocations: 45.28 kB / 0.5196 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.2868, allocations: 23.78 kB / 0.5196 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.2868, allocations: 0 / 0.5196 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.115e-05/0.2868, allocations: 30.56 kB / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.2868, allocations: 0 / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007868/0.2876, allocations: 283.2 kB / 0.5199 GB, free: 34.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/0.2877, allocations: 51.41 kB / 0.5199 GB, free: 34.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.2878, allocations: 280.8 kB / 0.5202 GB, free: 34.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.2879, allocations: 25.7 kB / 0.5202 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.2879, allocations: 115.5 kB / 0.5203 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.2879, allocations: 25.86 kB / 0.5204 GB, free: 34.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.2879, allocations: 4 kB / 0.5204 GB, free: 34.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.288, allocations: 328 kB / 0.5207 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.2881, allocations: 35.36 kB / 0.5207 GB, free: 33.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.595e-05/0.2881, allocations: 35.17 kB / 0.5208 GB, free: 33.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2883, allocations: 86.98 kB / 0.5208 GB, free: 33.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2883, allocations: 0 / 0.5208 GB, free: 33.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001937/0.2885, allocations: 122.8 kB / 0.521 GB, free: 33.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2885, allocations: 9.219 kB / 0.521 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2885, allocations: 4 kB / 0.521 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.2885, allocations: 3.938 kB / 0.521 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.2886, allocations: 17.94 kB / 0.521 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2886, allocations: 6.75 kB / 0.521 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.037e-05/0.2887, allocations: 6.938 kB / 0.521 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2887, allocations: 2.938 kB / 0.521 GB, free: 33.71 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 6.686e-05/0.2888, allocations: 137.9 kB / 0.5211 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.2888, allocations: 17.72 kB / 0.5212 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.2891, allocations: 135 kB / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2891, allocations: 0 / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2891, allocations: 6.844 kB / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2891, allocations: 3.188 kB / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.2895, allocations: 434.7 kB / 0.5217 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2895, allocations: 0 / 0.5217 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.2896, allocations: 28.78 kB / 0.5217 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2896, allocations: 0 / 0.5217 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2896, allocations: 4.031 kB / 0.5217 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2896, allocations: 2.938 kB / 0.5217 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2896, allocations: 4 kB / 0.5217 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.2898, allocations: 229.9 kB / 0.522 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.2898, allocations: 97.22 kB / 0.5221 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.2899, allocations: 3.938 kB / 0.5221 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.2899, allocations: 12.38 kB / 0.5221 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.29, allocations: 5.672 kB / 0.5221 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.29, allocations: 2.656 kB / 0.5221 GB, free: 32.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.2901, allocations: 208.1 kB / 0.5223 GB, free: 32.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2901, allocations: 0 / 0.5223 GB, free: 32.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002205/0.2903, allocations: 21.62 kB / 0.5223 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.001068/0.2914, allocations: 1.115 MB / 0.5234 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.2916, allocations: 79.52 kB / 0.5235 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2916, allocations: 4 kB / 0.5235 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.2917, allocations: 37.66 kB / 0.5235 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.292, allocations: 19.23 kB / 0.5235 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.2931, allocations: 0.9834 MB / 0.5245 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.2933, allocations: 0.7335 MB / 0.5252 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.2933, allocations: 39.39 kB / 0.5252 GB, free: 30.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2933, allocations: 0 / 0.5252 GB, free: 30.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.863/3.157, allocations: 2.506 MB / 0.5277 GB, free: 30.25 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches