Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 199.8 kB / 16.1 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.203/1.203, allocations: 226.5 MB / 243.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007604/0.0007604, allocations: 104.6 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2948/0.2948, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2957, allocations: 62.95 MB / 0.516 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.001433/0.2972, allocations: 1.288 MB / 0.5172 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006197/0.2978, allocations: 0.4905 MB / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.2979, allocations: 0 / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.298, allocations: 25.62 kB / 0.5177 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.2982, allocations: 57.02 kB / 0.5178 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.2984, allocations: 82.38 kB / 0.5178 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2986, allocations: 51.36 kB / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2987, allocations: 25.58 kB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.2987, allocations: 18.19 kB / 0.5179 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.2988, allocations: 21.02 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.2988, allocations: 3.031 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.2989, allocations: 25.88 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.587e-05/0.2989, allocations: 14.25 kB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.2989, allocations: 47.52 kB / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.993e-05/0.2991, allocations: 62.09 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2991, allocations: 0 / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.2991, allocations: 0 / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.2991, allocations: 3.938 kB / 0.5181 GB, free: 35.71 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.0003641/0.2995, allocations: 375.5 kB / 0.5185 GB, free: 35.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2995, allocations: 8.812 kB / 0.5185 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.2995, allocations: 30.75 kB / 0.5185 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.2996, allocations: 10.41 kB / 0.5185 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2997, allocations: 199.3 kB / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2997, allocations: 384 / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.2997, allocations: 7.156 kB / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.2999, allocations: 55.73 kB / 0.5188 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.2999, allocations: 3.938 kB / 0.5188 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.2999, allocations: 0 / 0.5188 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2999, allocations: 0 / 0.5188 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/0.3, allocations: 29.08 kB / 0.5188 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.3002, allocations: 273.7 kB / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.3004, allocations: 50.09 kB / 0.5191 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.3005, allocations: 17.55 kB / 0.5191 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3005, allocations: 6.344 kB / 0.5191 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.096e-05/0.3005, allocations: 30.56 kB / 0.5192 GB, free: 34.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.3005, allocations: 3.984 kB / 0.5192 GB, free: 34.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004623/0.301, allocations: 155.3 kB / 0.5193 GB, free: 34.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.301, allocations: 55.41 kB / 0.5194 GB, free: 34.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3012, allocations: 174.9 kB / 0.5195 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.3012, allocations: 25.7 kB / 0.5196 GB, free: 34.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.3012, allocations: 98.23 kB / 0.5196 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.3012, allocations: 17.94 kB / 0.5197 GB, free: 34.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.3012, allocations: 0 / 0.5197 GB, free: 34.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.643e-05/0.3013, allocations: 320.7 kB / 0.52 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.474e-05/0.3014, allocations: 26.66 kB / 0.52 GB, free: 33.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-05/0.3014, allocations: 22.42 kB / 0.52 GB, free: 33.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3015, allocations: 52.72 kB / 0.5201 GB, free: 33.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3016, allocations: 0 / 0.5201 GB, free: 33.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001554/0.3017, allocations: 89.56 kB / 0.5202 GB, free: 33.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.3017, allocations: 8.406 kB / 0.5202 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3017, allocations: 0 / 0.5202 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3018, allocations: 0 / 0.5202 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.718e-05/0.3018, allocations: 19.17 kB / 0.5202 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3018, allocations: 3.938 kB / 0.5202 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.3019, allocations: 10.53 kB / 0.5202 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.3019, allocations: 0 / 0.5202 GB, free: 33.84 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.753e-05/0.302, allocations: 122.9 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.302, allocations: 9.938 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.3022, allocations: 102.3 kB / 0.5204 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3022, allocations: 3.938 kB / 0.5204 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3022, allocations: 3.938 kB / 0.5204 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3022, allocations: 3.938 kB / 0.5204 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.3025, allocations: 346 kB / 0.5208 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3025, allocations: 4 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.3026, allocations: 19.34 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3026, allocations: 6.906 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.3026, allocations: 4 kB / 0.5208 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3026, allocations: 0 / 0.5208 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3026, allocations: 0 / 0.5208 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.3028, allocations: 185.3 kB / 0.521 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.3028, allocations: 87.09 kB / 0.5211 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.3029, allocations: 3.938 kB / 0.5211 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.43e-05/0.3029, allocations: 13.03 kB / 0.5211 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.303, allocations: 2.844 kB / 0.5211 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.303, allocations: 4 kB / 0.5211 GB, free: 33.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.695e-05/0.303, allocations: 131.4 kB / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.303, allocations: 0 / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.3033, allocations: 19.28 kB / 0.5212 GB, free: 32.96 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.0009948/0.3043, allocations: 1.011 MB / 0.5222 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.3045, allocations: 61.81 kB / 0.5223 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3045, allocations: 0 / 0.5223 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.3045, allocations: 31.62 kB / 0.5223 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.3048, allocations: 13.11 kB / 0.5223 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.3056, allocations: 0.6141 MB / 0.5229 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.631e-05/0.3057, allocations: 0.7021 MB / 0.5236 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.3058, allocations: 22.38 kB / 0.5236 GB, free: 30.97 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3058, allocations: 0 / 0.5236 GB, free: 30.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.756/3.062, allocations: 1.741 MB / 0.5253 GB, free: 30.79 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches