Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009329/0.000933, allocations: 198.1 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 226.5 MB / 243.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007296/0.0007297, allocations: 91.31 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.3454/0.3454, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002907, allocations: 11.94 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3033, allocations: 62.96 MB / 0.516 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.00185/0.3052, allocations: 1.337 MB / 0.5173 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007885/0.306, allocations: 0.5146 MB / 0.5178 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.3061, allocations: 0 / 0.5178 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.3064, allocations: 91.53 kB / 0.5179 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.3066, allocations: 91.59 kB / 0.5179 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.3069, allocations: 104.6 kB / 0.518 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.3071, allocations: 88.33 kB / 0.5181 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3072, allocations: 31.14 kB / 0.5182 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.3073, allocations: 35.42 kB / 0.5182 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.3074, allocations: 47.97 kB / 0.5182 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.3074, allocations: 2.844 kB / 0.5182 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.325e-05/0.3075, allocations: 37.55 kB / 0.5183 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.3076, allocations: 27.61 kB / 0.5183 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.3077, allocations: 62.91 kB / 0.5184 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.3078, allocations: 93.44 kB / 0.5184 GB, free: 35.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3079, allocations: 0 / 0.5184 GB, free: 35.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3079, allocations: 0 / 0.5184 GB, free: 35.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.3079, allocations: 0 / 0.5184 GB, free: 35.79 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.000514/0.3084, allocations: 418.9 kB / 0.5188 GB, free: 35.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.3085, allocations: 8.688 kB / 0.5189 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.3085, allocations: 41.66 kB / 0.5189 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.3085, allocations: 14.66 kB / 0.5189 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.3088, allocations: 209.4 kB / 0.5191 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.3088, allocations: 4.375 kB / 0.5191 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.3088, allocations: 10.22 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.309, allocations: 75.58 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.309, allocations: 3.938 kB / 0.5192 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3091, allocations: 4 kB / 0.5192 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.3091, allocations: 2.5 kB / 0.5192 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.3092, allocations: 54.45 kB / 0.5193 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.3097, allocations: 347.4 kB / 0.5196 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3098, allocations: 70.3 kB / 0.5197 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.3099, allocations: 35.22 kB / 0.5197 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.3099, allocations: 4 kB / 0.5197 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.31, allocations: 33.5 kB / 0.5197 GB, free: 34.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.31, allocations: 0 / 0.5197 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001099/0.3111, allocations: 359.2 kB / 0.5201 GB, free: 34.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.3111, allocations: 51.41 kB / 0.5201 GB, free: 34.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.3114, allocations: 239 kB / 0.5203 GB, free: 34.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3114, allocations: 29.64 kB / 0.5204 GB, free: 34.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.3115, allocations: 115.5 kB / 0.5205 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.3115, allocations: 40.17 kB / 0.5205 GB, free: 34.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.3115, allocations: 3.938 kB / 0.5205 GB, free: 34.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.3116, allocations: 335.1 kB / 0.5208 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.903e-05/0.3117, allocations: 46.72 kB / 0.5209 GB, free: 33.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.51e-05/0.3118, allocations: 46.11 kB / 0.5209 GB, free: 33.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.312, allocations: 117.5 kB / 0.521 GB, free: 33.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.312, allocations: 3.031 kB / 0.521 GB, free: 33.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000235/0.3122, allocations: 159.8 kB / 0.5212 GB, free: 33.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3123, allocations: 5.75 kB / 0.5212 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3123, allocations: 3.938 kB / 0.5212 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3123, allocations: 7.031 kB / 0.5212 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3124, allocations: 33.25 kB / 0.5212 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3124, allocations: 0 / 0.5212 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.3125, allocations: 14.03 kB / 0.5213 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3125, allocations: 2.812 kB / 0.5213 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 8.197e-05/0.3126, allocations: 135.4 kB / 0.5214 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3126, allocations: 13.47 kB / 0.5214 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.3129, allocations: 204.4 kB / 0.5216 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.313, allocations: 3 kB / 0.5216 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.313, allocations: 0 / 0.5216 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.313, allocations: 0 / 0.5216 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.3135, allocations: 0.5113 MB / 0.5221 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3135, allocations: 0 / 0.5221 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.089e-05/0.3136, allocations: 30.89 kB / 0.5221 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3136, allocations: 4.031 kB / 0.5221 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.3136, allocations: 2.812 kB / 0.5221 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3136, allocations: 2.719 kB / 0.5221 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3136, allocations: 3.938 kB / 0.5221 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.3139, allocations: 266.1 kB / 0.5224 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.3139, allocations: 87.89 kB / 0.5225 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3139, allocations: 6.469 kB / 0.5225 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.314, allocations: 8.797 kB / 0.5225 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.3141, allocations: 13.2 kB / 0.5225 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3141, allocations: 2.562 kB / 0.5225 GB, free: 32.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.3142, allocations: 184 kB / 0.5227 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3142, allocations: 4 kB / 0.5227 GB, free: 32.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.3144, allocations: 25.69 kB / 0.5227 GB, free: 32.57 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.001196/0.3156, allocations: 1.138 MB / 0.5238 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.3159, allocations: 128.8 kB / 0.5239 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3159, allocations: 0 / 0.5239 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.316, allocations: 66.14 kB / 0.524 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.3163, allocations: 20.94 kB / 0.524 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.3176, allocations: 1.003 MB / 0.525 GB, free: 31.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.3178, allocations: 0.731 MB / 0.5257 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.3178, allocations: 43.83 kB / 0.5258 GB, free: 30.32 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3179, allocations: 0 / 0.5258 GB, free: 30.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.806/3.124, allocations: 2.623 MB / 0.5283 GB, free: 30.03 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches