Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 201.7 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.263/1.263, 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.0007984/0.0007982, allocations: 99.31 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.2867/0.2867, allocations: 44.83 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002992, allocations: 11.98 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2959, allocations: 62.96 MB / 0.516 GB, free: 37.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.001528/0.2975, allocations: 1.333 MB / 0.5173 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006844/0.2982, allocations: 0.5096 MB / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.2983, allocations: 0 / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.2985, allocations: 31.69 kB / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.2987, allocations: 67.62 kB / 0.5179 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.2989, allocations: 97.56 kB / 0.518 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.2991, allocations: 80.88 kB / 0.518 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2992, allocations: 28.7 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.2992, allocations: 26.55 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.2993, allocations: 30.09 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.2993, allocations: 7.031 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.2994, allocations: 42.67 kB / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.2995, allocations: 13.23 kB / 0.5182 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.2995, allocations: 51.42 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2996, allocations: 82.92 kB / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2996, allocations: 4 kB / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2997, allocations: 0 / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.2997, allocations: 0 / 0.5183 GB, free: 35.7 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003534/0.3, allocations: 396.1 kB / 0.5187 GB, free: 35.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3001, allocations: 11.94 kB / 0.5187 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.859e-05/0.3001, allocations: 37.94 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.3001, allocations: 10.75 kB / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3003, allocations: 203.6 kB / 0.5189 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3003, allocations: 3.344 kB / 0.5189 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3003, allocations: 7.188 kB / 0.5189 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.3005, allocations: 75.7 kB / 0.519 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3005, allocations: 4 kB / 0.519 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3005, allocations: 4 kB / 0.519 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3005, allocations: 2.812 kB / 0.519 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.3006, allocations: 47.12 kB / 0.5191 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.301, allocations: 336.2 kB / 0.5194 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.3011, allocations: 75.23 kB / 0.5195 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.3012, allocations: 30.53 kB / 0.5195 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.3012, allocations: 0 / 0.5195 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.3012, allocations: 33.25 kB / 0.5195 GB, free: 34.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.644e-06/0.3013, allocations: 3.984 kB / 0.5195 GB, free: 34.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009623/0.3022, allocations: 356.3 kB / 0.5199 GB, free: 34.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.3023, allocations: 51.41 kB / 0.5199 GB, free: 34.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3024, allocations: 175.1 kB / 0.5201 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.3024, allocations: 25.7 kB / 0.5201 GB, free: 34.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.3024, allocations: 109.5 kB / 0.5202 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.3025, allocations: 41.44 kB / 0.5203 GB, free: 34.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.3025, allocations: 6.938 kB / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.454e-05/0.3025, allocations: 321.1 kB / 0.5206 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.3026, allocations: 45.48 kB / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.45e-05/0.3027, allocations: 52.81 kB / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.3029, allocations: 111.9 kB / 0.5208 GB, free: 33.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3029, allocations: 0 / 0.5208 GB, free: 33.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002475/0.3032, allocations: 171.7 kB / 0.5209 GB, free: 33.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3032, allocations: 3.938 kB / 0.5209 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3032, allocations: 0 / 0.5209 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3032, allocations: 0 / 0.5209 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.3033, allocations: 30.98 kB / 0.521 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3034, allocations: 0 / 0.521 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.3034, allocations: 9.938 kB / 0.521 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.3034, allocations: 2.938 kB / 0.521 GB, free: 33.61 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 (13): * Single equations (assignments): 13 * 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.653e-05/0.3035, allocations: 133.6 kB / 0.5211 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.3035, allocations: 16.97 kB / 0.5211 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.3038, allocations: 180.6 kB / 0.5213 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3039, allocations: 0 / 0.5213 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3039, allocations: 7 kB / 0.5213 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3039, allocations: 0 / 0.5213 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.3044, allocations: 0.4991 MB / 0.5218 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3044, allocations: 0 / 0.5218 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.424e-05/0.3045, allocations: 30.08 kB / 0.5218 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3045, allocations: 0 / 0.5218 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3045, allocations: 6.781 kB / 0.5218 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3045, allocations: 4 kB / 0.5218 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3045, allocations: 2.844 kB / 0.5218 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.3047, allocations: 259.2 kB / 0.5221 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.3048, allocations: 87.38 kB / 0.5222 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.3048, allocations: 3.062 kB / 0.5222 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.3049, allocations: 6.938 kB / 0.5222 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.3049, allocations: 13.42 kB / 0.5222 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.3049, allocations: 14.2 kB / 0.5222 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.51e-05/0.305, allocations: 124.7 kB / 0.5223 GB, free: 32.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.305, allocations: 0 / 0.5223 GB, free: 32.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.3053, allocations: 32.69 kB / 0.5223 GB, free: 32.59 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 (13): * Single equations (assignments): 13 * 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.001172/0.3064, allocations: 1.14 MB / 0.5235 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.3067, allocations: 122.6 kB / 0.5236 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3067, allocations: 0 / 0.5236 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.3068, allocations: 69.89 kB / 0.5236 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.3071, allocations: 19.91 kB / 0.5237 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3082, allocations: 0.8287 MB / 0.5245 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.3084, allocations: 0.7153 MB / 0.5252 GB, free: 30.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.3084, allocations: 35.56 kB / 0.5252 GB, free: 30.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3085, allocations: 3.938 kB / 0.5252 GB, free: 30.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.927/3.235, allocations: 2.287 MB / 0.5274 GB, free: 30.16 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches