Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_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.001052/0.001052, allocations: 196.4 kB / 16.1 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, 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.0008343/0.0008342, allocations: 98.66 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2819/0.2819, allocations: 44.83 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002796, allocations: 15.97 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2898, allocations: 62.96 MB / 0.516 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001513/0.2914, allocations: 1.341 MB / 0.5173 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006665/0.2921, allocations: 0.4965 MB / 0.5178 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.2921, allocations: 0 / 0.5178 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.2924, allocations: 92.25 kB / 0.5178 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.2926, allocations: 91.59 kB / 0.5179 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.2928, allocations: 80.52 kB / 0.518 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.2929, allocations: 90.41 kB / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.293, allocations: 23.05 kB / 0.5181 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.2931, allocations: 38.02 kB / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.069e-05/0.2931, allocations: 49.16 kB / 0.5182 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.2932, allocations: 0 / 0.5182 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-05/0.2932, allocations: 41.94 kB / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.2933, allocations: 23.44 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.2933, allocations: 66.2 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.2935, allocations: 87.48 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2935, allocations: 4 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2935, allocations: 0 / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.2935, allocations: 0 / 0.5184 GB, free: 35.5 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000353/0.2939, allocations: 411.5 kB / 0.5188 GB, free: 35.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2939, allocations: 8.656 kB / 0.5188 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.488e-05/0.2939, allocations: 37 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.294, allocations: 22.44 kB / 0.5189 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.2941, allocations: 209.4 kB / 0.5191 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.2941, allocations: 3.375 kB / 0.5191 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.2942, allocations: 11.34 kB / 0.5191 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.2943, allocations: 66.69 kB / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2943, allocations: 3.906 kB / 0.5192 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2943, allocations: 4 kB / 0.5192 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2943, allocations: 2.969 kB / 0.5192 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.2945, allocations: 48.98 kB / 0.5192 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.2948, allocations: 329.1 kB / 0.5195 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.2949, allocations: 62.44 kB / 0.5196 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.295, allocations: 27.69 kB / 0.5196 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.295, allocations: 4 kB / 0.5196 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.295, allocations: 38.22 kB / 0.5196 GB, free: 34.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.295, allocations: 0 / 0.5196 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009234/0.2959, allocations: 335.1 kB / 0.52 GB, free: 34.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.296, allocations: 51.41 kB / 0.52 GB, free: 34.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.2961, allocations: 239.1 kB / 0.5202 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2962, allocations: 29.7 kB / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.2962, allocations: 116.5 kB / 0.5204 GB, free: 33.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.2962, allocations: 44.56 kB / 0.5204 GB, free: 33.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.2962, allocations: 4 kB / 0.5204 GB, free: 33.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.2963, allocations: 327.5 kB / 0.5207 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/0.2964, allocations: 41.7 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.2965, allocations: 38.25 kB / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.2966, allocations: 100.2 kB / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.2966, allocations: 0 / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002132/0.2969, allocations: 153.5 kB / 0.5211 GB, free: 33.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2969, allocations: 8.25 kB / 0.5211 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2969, allocations: 0 / 0.5211 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2969, allocations: 6.844 kB / 0.5211 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.297, allocations: 28.14 kB / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.297, allocations: 6.656 kB / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.2971, allocations: 7.391 kB / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.2971, allocations: 2.75 kB / 0.5211 GB, free: 33.36 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 7.227e-05/0.2972, allocations: 135.3 kB / 0.5212 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.2972, allocations: 12.03 kB / 0.5213 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.2975, allocations: 177.9 kB / 0.5214 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2975, allocations: 6.781 kB / 0.5214 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2975, allocations: 0 / 0.5214 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2975, allocations: 3.938 kB / 0.5214 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.298, allocations: 480.6 kB / 0.5219 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.298, allocations: 0 / 0.5219 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.2981, allocations: 27.19 kB / 0.5219 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2981, allocations: 4.031 kB / 0.5219 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.2981, allocations: 2.812 kB / 0.5219 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2981, allocations: 2.906 kB / 0.5219 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2981, allocations: 3.281 kB / 0.5219 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.2984, allocations: 254 kB / 0.5222 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.2984, allocations: 91.61 kB / 0.5223 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2984, allocations: 2.75 kB / 0.5223 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.2985, allocations: 17.06 kB / 0.5223 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.2986, allocations: 8.438 kB / 0.5223 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.2986, allocations: 3 kB / 0.5223 GB, free: 32.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.2987, allocations: 183.3 kB / 0.5225 GB, free: 32.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2987, allocations: 0 / 0.5225 GB, free: 32.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.2989, allocations: 29.69 kB / 0.5225 GB, free: 32.35 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.001118/0.3001, allocations: 1.132 MB / 0.5236 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.3003, allocations: 108.9 kB / 0.5237 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3003, allocations: 0 / 0.5237 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.352e-05/0.3004, allocations: 60.28 kB / 0.5238 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3007, allocations: 15.59 kB / 0.5238 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.3019, allocations: 0.9556 MB / 0.5247 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.302, allocations: 0.7199 MB / 0.5254 GB, free: 30.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.3021, allocations: 54.47 kB / 0.5255 GB, free: 30.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3021, allocations: 0 / 0.5255 GB, free: 30.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.843/3.145, allocations: 2.531 MB / 0.5279 GB, free: 29.82 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches