Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 192 kB / 16.1 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 226.5 MB / 243.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007972/0.0007972, allocations: 88.77 kB / 295.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3249/0.3249, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002819, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2753, allocations: 62.96 MB / 0.516 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.001393/0.2768, allocations: 1.311 MB / 0.5172 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006198/0.2774, allocations: 0.4942 MB / 0.5177 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.2774, allocations: 3.938 kB / 0.5177 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.2777, allocations: 80.81 kB / 0.5178 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.2778, allocations: 84.19 kB / 0.5179 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.2781, allocations: 107.5 kB / 0.518 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2782, allocations: 69.2 kB / 0.5181 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.293e-05/0.2783, allocations: 20.44 kB / 0.5181 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.408e-05/0.2783, allocations: 29.52 kB / 0.5181 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.2784, allocations: 46.91 kB / 0.5181 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2784, allocations: 0 / 0.5181 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.836e-05/0.2785, allocations: 37.83 kB / 0.5182 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.2786, allocations: 20.17 kB / 0.5182 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.2786, allocations: 62.62 kB / 0.5183 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.2787, allocations: 70.52 kB / 0.5183 GB, free: 35.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2787, allocations: 2.969 kB / 0.5183 GB, free: 35.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2787, allocations: 0 / 0.5183 GB, free: 35.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.2787, allocations: 0 / 0.5183 GB, free: 35.81 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.0003225/0.2791, allocations: 397.7 kB / 0.5187 GB, free: 35.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2791, allocations: 9 kB / 0.5187 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.235e-05/0.2791, allocations: 37.66 kB / 0.5188 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.2792, allocations: 11.69 kB / 0.5188 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.2793, allocations: 206.6 kB / 0.519 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.2793, allocations: 7.391 kB / 0.519 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.2793, allocations: 7.969 kB / 0.519 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.2794, allocations: 53.05 kB / 0.519 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2795, allocations: 4 kB / 0.519 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.2795, allocations: 6.938 kB / 0.519 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2795, allocations: 0 / 0.519 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.383e-05/0.2796, allocations: 28.89 kB / 0.5191 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.2799, allocations: 306.1 kB / 0.5194 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.329e-05/0.28, allocations: 52.86 kB / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.28, allocations: 20.08 kB / 0.5194 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.28, allocations: 0 / 0.5194 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.2801, allocations: 36.64 kB / 0.5195 GB, free: 34.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.2801, allocations: 0 / 0.5195 GB, free: 34.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007905/0.2809, allocations: 272.8 kB / 0.5197 GB, free: 34.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.2809, allocations: 55.34 kB / 0.5198 GB, free: 34.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.281, allocations: 216.5 kB / 0.52 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.281, allocations: 25.7 kB / 0.52 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.2811, allocations: 112.8 kB / 0.5201 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.2811, allocations: 28.41 kB / 0.5201 GB, free: 34.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.2811, allocations: 0 / 0.5201 GB, free: 34.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.2812, allocations: 321.2 kB / 0.5204 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.2812, allocations: 33.33 kB / 0.5205 GB, free: 33.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.2813, allocations: 37.23 kB / 0.5205 GB, free: 33.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.2815, allocations: 84.75 kB / 0.5206 GB, free: 33.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2815, allocations: 2.938 kB / 0.5206 GB, free: 33.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001846/0.2817, allocations: 121 kB / 0.5207 GB, free: 33.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.2817, allocations: 9.281 kB / 0.5207 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2817, allocations: 320 / 0.5207 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.2817, allocations: 3.938 kB / 0.5207 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.2818, allocations: 18.39 kB / 0.5207 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.2818, allocations: 3.938 kB / 0.5207 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.037e-05/0.2819, allocations: 9.219 kB / 0.5208 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.2819, allocations: 6.266 kB / 0.5208 GB, free: 33.79 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.013e-05/0.2819, allocations: 128.2 kB / 0.5209 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.282, allocations: 13.5 kB / 0.5209 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.2822, allocations: 137.8 kB / 0.521 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2822, allocations: 0 / 0.521 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2822, allocations: 3.938 kB / 0.521 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2822, allocations: 4 kB / 0.521 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.2826, allocations: 426.6 kB / 0.5214 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2826, allocations: 0 / 0.5214 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.2827, allocations: 29.03 kB / 0.5215 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2827, allocations: 0 / 0.5215 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2827, allocations: 6.281 kB / 0.5215 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2827, allocations: 0 / 0.5215 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2828, allocations: 0 / 0.5215 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.283, allocations: 230.4 kB / 0.5217 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.283, allocations: 95.12 kB / 0.5218 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.283, allocations: 2.906 kB / 0.5218 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.2831, allocations: 12.53 kB / 0.5218 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.2831, allocations: 2.938 kB / 0.5218 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.2831, allocations: 6.719 kB / 0.5218 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.5e-05/0.2832, allocations: 159.1 kB / 0.522 GB, free: 32.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2832, allocations: 0 / 0.522 GB, free: 32.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.2835, allocations: 21.83 kB / 0.522 GB, free: 32.84 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.001059/0.2845, allocations: 1.104 MB / 0.5231 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.2847, allocations: 87.67 kB / 0.5231 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2847, allocations: 0 / 0.5231 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.2848, allocations: 43.34 kB / 0.5232 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.2851, allocations: 16.98 kB / 0.5232 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009563/0.2861, allocations: 0.8346 MB / 0.524 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.2862, allocations: 0.7135 MB / 0.5247 GB, free: 30.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.2863, allocations: 36.19 kB / 0.5247 GB, free: 30.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2863, allocations: 4 kB / 0.5247 GB, free: 30.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.906/3.192, allocations: 2.212 MB / 0.5269 GB, free: 30.46 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches