Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00098/0.0009799, allocations: 200.2 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.289/1.289, allocations: 226.5 MB / 243.4 MB, free: 6.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008197/0.0008197, allocations: 88.45 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.2935/0.2935, allocations: 44.81 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002667, allocations: 8 kB / 465.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2866, allocations: 62.96 MB / 0.516 GB, free: 37.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.001579/0.2882, allocations: 1.305 MB / 0.5172 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007084/0.2889, allocations: 0.4933 MB / 0.5177 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.289, allocations: 3.938 kB / 0.5177 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.2892, allocations: 77.95 kB / 0.5178 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.2894, allocations: 78.55 kB / 0.5179 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.2896, allocations: 78.28 kB / 0.5179 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.2898, allocations: 74.38 kB / 0.518 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.2899, allocations: 24 kB / 0.518 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.2899, allocations: 24.28 kB / 0.5181 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.056e-05/0.29, allocations: 48.97 kB / 0.5181 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.29, allocations: 0 / 0.5181 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.296e-05/0.2901, allocations: 36.39 kB / 0.5181 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.2901, allocations: 20.97 kB / 0.5182 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.2902, allocations: 57.61 kB / 0.5182 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.2903, allocations: 76.58 kB / 0.5183 GB, free: 35.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2903, allocations: 0 / 0.5183 GB, free: 35.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2903, allocations: 0 / 0.5183 GB, free: 35.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.2903, allocations: 4 kB / 0.5183 GB, free: 35.77 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.0003435/0.2907, allocations: 394.1 kB / 0.5187 GB, free: 35.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2907, allocations: 11.47 kB / 0.5187 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.314e-05/0.2908, allocations: 38.69 kB / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.2908, allocations: 18.22 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.2909, allocations: 202.1 kB / 0.5189 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.2909, allocations: 384 / 0.5189 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.291, allocations: 7.125 kB / 0.5189 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.2911, allocations: 59.3 kB / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2911, allocations: 6.156 kB / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.2911, allocations: 0 / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2911, allocations: 0 / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.602e-05/0.2912, allocations: 28.84 kB / 0.519 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.2915, allocations: 300.5 kB / 0.5193 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.495e-05/0.2916, allocations: 47.16 kB / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/0.2917, allocations: 24.28 kB / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.2917, allocations: 0 / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.2917, allocations: 34.56 kB / 0.5194 GB, free: 34.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.2917, allocations: 0 / 0.5194 GB, free: 34.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007788/0.2925, allocations: 252.8 kB / 0.5197 GB, free: 34.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.2925, allocations: 51.41 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.2927, allocations: 220 kB / 0.5199 GB, free: 34.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.2927, allocations: 29.7 kB / 0.5199 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.2927, allocations: 109.1 kB / 0.52 GB, free: 34.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.2928, allocations: 29.89 kB / 0.5201 GB, free: 34.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.2928, allocations: 0 / 0.5201 GB, free: 34.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.2928, allocations: 321 kB / 0.5204 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.2929, allocations: 28.62 kB / 0.5204 GB, free: 33.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.293, allocations: 31.38 kB / 0.5204 GB, free: 33.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.2931, allocations: 67.06 kB / 0.5205 GB, free: 33.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2931, allocations: 0 / 0.5205 GB, free: 33.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001839/0.2933, allocations: 116.4 kB / 0.5206 GB, free: 33.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2933, allocations: 5.281 kB / 0.5206 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2933, allocations: 320 / 0.5206 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2933, allocations: 3.938 kB / 0.5206 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.2934, allocations: 19.89 kB / 0.5206 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2935, allocations: 3.938 kB / 0.5206 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.2935, allocations: 8.531 kB / 0.5207 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2935, allocations: 10.64 kB / 0.5207 GB, free: 33.78 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.485e-05/0.2936, allocations: 128 kB / 0.5208 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.2936, allocations: 9.344 kB / 0.5208 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.2938, allocations: 129.2 kB / 0.5209 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2939, allocations: 7 kB / 0.5209 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2939, allocations: 3.938 kB / 0.5209 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2939, allocations: 0 / 0.5209 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.2943, allocations: 405 kB / 0.5213 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2943, allocations: 4.031 kB / 0.5213 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.2943, allocations: 24.19 kB / 0.5213 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2943, allocations: 0 / 0.5213 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.2944, allocations: 3.938 kB / 0.5213 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2944, allocations: 6.656 kB / 0.5213 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2944, allocations: 3.375 kB / 0.5214 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.2946, allocations: 216.3 kB / 0.5216 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.2946, allocations: 91.89 kB / 0.5216 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.2946, allocations: 6.422 kB / 0.5217 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.2947, allocations: 9.75 kB / 0.5217 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.2947, allocations: 6.328 kB / 0.5217 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.2947, allocations: 7.094 kB / 0.5217 GB, free: 32.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.86e-05/0.2948, allocations: 158.3 kB / 0.5218 GB, free: 32.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2948, allocations: 0 / 0.5218 GB, free: 32.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.2951, allocations: 22.44 kB / 0.5218 GB, free: 32.83 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.001118/0.2962, allocations: 1.09 MB / 0.5229 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.2964, allocations: 72.92 kB / 0.523 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2964, allocations: 0 / 0.523 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.544e-05/0.2965, allocations: 41.39 kB / 0.523 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.0002947/0.2968, allocations: 17.19 kB / 0.523 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2978, allocations: 0.7978 MB / 0.5238 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.298, allocations: 0.7166 MB / 0.5245 GB, free: 30.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.298, allocations: 32.66 kB / 0.5245 GB, free: 30.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.298, allocations: 0 / 0.5245 GB, free: 30.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.81/3.108, allocations: 2.172 MB / 0.5267 GB, free: 30.47 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches