Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 202.4 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.239/1.239, allocations: 226.5 MB / 243.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007461/0.0007463, allocations: 83.81 kB / 295.4 MB, free: 6.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2959/0.2959, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.00027, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2974, allocations: 62.96 MB / 0.516 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.001468/0.2989, allocations: 1.312 MB / 0.5172 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006199/0.2996, allocations: 495.7 kB / 0.5177 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.2996, allocations: 0 / 0.5177 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.2998, allocations: 79.28 kB / 0.5178 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.3, allocations: 88.36 kB / 0.5179 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3002, allocations: 76.3 kB / 0.5179 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3003, allocations: 77.91 kB / 0.518 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.328e-05/0.3004, allocations: 21.08 kB / 0.518 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.3005, allocations: 25.67 kB / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.899e-05/0.3006, allocations: 48.44 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3006, allocations: 0 / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.907e-05/0.3007, allocations: 43.55 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.3007, allocations: 16.98 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.3007, allocations: 54.55 kB / 0.5182 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.3008, allocations: 80.19 kB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3009, allocations: 0 / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3009, allocations: 0 / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.3009, allocations: 2.875 kB / 0.5183 GB, free: 35.57 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.0003261/0.3012, allocations: 393.7 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3012, allocations: 10.12 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.196e-05/0.3013, allocations: 34.75 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.3013, allocations: 18.25 kB / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3014, allocations: 206.4 kB / 0.5189 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.3014, allocations: 3.406 kB / 0.5189 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.3015, allocations: 4.375 kB / 0.5189 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.3016, allocations: 51.8 kB / 0.519 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3016, allocations: 2.938 kB / 0.519 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.3016, allocations: 3.375 kB / 0.519 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3016, allocations: 0 / 0.519 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.3017, allocations: 28.58 kB / 0.519 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.302, allocations: 304.4 kB / 0.5193 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.07e-05/0.3021, allocations: 37.02 kB / 0.5193 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.3022, allocations: 27.62 kB / 0.5194 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3022, allocations: 0 / 0.5194 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.3022, allocations: 30.56 kB / 0.5194 GB, free: 34.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3022, allocations: 0 / 0.5194 GB, free: 34.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007635/0.303, allocations: 264.1 kB / 0.5197 GB, free: 34.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.303, allocations: 51.41 kB / 0.5197 GB, free: 34.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.3032, allocations: 220.4 kB / 0.5199 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.3032, allocations: 29.64 kB / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.3032, allocations: 105.3 kB / 0.52 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.3032, allocations: 25.62 kB / 0.5201 GB, free: 34.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.3032, allocations: 6.844 kB / 0.5201 GB, free: 34.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.3033, allocations: 325 kB / 0.5204 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.398e-05/0.3034, allocations: 28.92 kB / 0.5204 GB, free: 33.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/0.3034, allocations: 29.03 kB / 0.5204 GB, free: 33.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.3036, allocations: 68.72 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3036, allocations: 0 / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001777/0.3038, allocations: 115.8 kB / 0.5206 GB, free: 33.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.3038, allocations: 3.156 kB / 0.5206 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3038, allocations: 0 / 0.5206 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3038, allocations: 3 kB / 0.5206 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.3039, allocations: 31.12 kB / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3039, allocations: 3.938 kB / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.304, allocations: 9.812 kB / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.304, allocations: 0 / 0.5207 GB, free: 33.58 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.732e-05/0.304, allocations: 124.9 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.3041, allocations: 9.688 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.3043, allocations: 132 kB / 0.5209 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3043, allocations: 0 / 0.5209 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3043, allocations: 3.938 kB / 0.5209 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3043, allocations: 3.984 kB / 0.5209 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.3047, allocations: 416.9 kB / 0.5213 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3047, allocations: 0 / 0.5213 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.3048, allocations: 25.89 kB / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3048, allocations: 2.812 kB / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3048, allocations: 0 / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3048, allocations: 4.031 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3048, allocations: 3.438 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.305, allocations: 209 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.3051, allocations: 99.12 kB / 0.5216 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.3051, allocations: 4 kB / 0.5217 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.3051, allocations: 9.094 kB / 0.5217 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.3052, allocations: 3.25 kB / 0.5217 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.3052, allocations: 6.953 kB / 0.5217 GB, free: 32.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.213e-05/0.3053, allocations: 162.2 kB / 0.5218 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3053, allocations: 0 / 0.5218 GB, free: 32.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00024/0.3055, allocations: 21.97 kB / 0.5218 GB, free: 32.64 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.001085/0.3066, allocations: 1.089 MB / 0.5229 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.3068, allocations: 73.92 kB / 0.523 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3068, allocations: 0 / 0.523 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.669e-05/0.3069, allocations: 40.97 kB / 0.523 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.3072, allocations: 15.67 kB / 0.523 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009649/0.3082, allocations: 0.7982 MB / 0.5238 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.3083, allocations: 0.7109 MB / 0.5245 GB, free: 30.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.3084, allocations: 35.28 kB / 0.5245 GB, free: 30.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3084, allocations: 0 / 0.5245 GB, free: 30.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.765/3.073, allocations: 2.182 MB / 0.5267 GB, free: 30.28 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches