Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 199.8 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.283/1.283, allocations: 226.5 MB / 243.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007373/0.0007376, allocations: 103.1 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3267/0.3267, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002525/0.0002526, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3017, allocations: 62.96 MB / 0.516 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.001639/0.3034, allocations: 1.313 MB / 0.5172 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007546/0.3041, allocations: 0.489 MB / 0.5177 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.3042, allocations: 0 / 0.5177 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.3045, allocations: 107 kB / 0.5178 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.3047, allocations: 99.83 kB / 0.5179 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.3049, allocations: 76.66 kB / 0.518 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.305, allocations: 71.7 kB / 0.5181 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.3051, allocations: 28.16 kB / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.3052, allocations: 29.08 kB / 0.5181 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.502e-05/0.3053, allocations: 58.55 kB / 0.5182 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.3053, allocations: 0 / 0.5182 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.689e-05/0.3054, allocations: 39.73 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.3055, allocations: 27.8 kB / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.3055, allocations: 53.8 kB / 0.5183 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.3056, allocations: 88.69 kB / 0.5184 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3056, allocations: 0 / 0.5184 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3056, allocations: 0 / 0.5184 GB, free: 35.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3057, allocations: 3.938 kB / 0.5184 GB, free: 35.47 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.000364/0.306, allocations: 407.4 kB / 0.5188 GB, free: 35.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3061, allocations: 8.875 kB / 0.5188 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.3061, allocations: 33.66 kB / 0.5188 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.3061, allocations: 18.47 kB / 0.5188 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.3063, allocations: 211.8 kB / 0.519 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3063, allocations: 7.359 kB / 0.519 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3063, allocations: 11.28 kB / 0.519 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.3065, allocations: 55.94 kB / 0.5191 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3065, allocations: 3.906 kB / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.3065, allocations: 4 kB / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3065, allocations: 0 / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.257e-05/0.3066, allocations: 39.78 kB / 0.5191 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.3069, allocations: 288.7 kB / 0.5194 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.233e-05/0.307, allocations: 50.64 kB / 0.5195 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.3071, allocations: 17.77 kB / 0.5195 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.3071, allocations: 7.281 kB / 0.5195 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.3071, allocations: 33.5 kB / 0.5195 GB, free: 34.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3071, allocations: 0 / 0.5195 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008123/0.3079, allocations: 254.1 kB / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.308, allocations: 55.41 kB / 0.5198 GB, free: 34.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.3082, allocations: 250.8 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.3082, allocations: 33.64 kB / 0.5201 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.3082, allocations: 112.7 kB / 0.5202 GB, free: 33.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.3082, allocations: 28.33 kB / 0.5202 GB, free: 33.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.3083, allocations: 0 / 0.5202 GB, free: 33.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.3083, allocations: 327.8 kB / 0.5205 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.338e-05/0.3084, allocations: 30.75 kB / 0.5206 GB, free: 33.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.237e-05/0.3085, allocations: 26.31 kB / 0.5206 GB, free: 33.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.3086, allocations: 69.08 kB / 0.5206 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3086, allocations: 0 / 0.5206 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001794/0.3088, allocations: 109.9 kB / 0.5208 GB, free: 33.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3088, allocations: 5.688 kB / 0.5208 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3088, allocations: 0 / 0.5208 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3088, allocations: 0 / 0.5208 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.3089, allocations: 27.67 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.309, allocations: 7.938 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.309, allocations: 13.23 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.309, allocations: 0 / 0.5208 GB, free: 33.45 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 7.696e-05/0.3091, allocations: 131.8 kB / 0.5209 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.3091, allocations: 13.75 kB / 0.5209 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.3094, allocations: 137.7 kB / 0.5211 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3094, allocations: 3.938 kB / 0.5211 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3094, allocations: 3.938 kB / 0.5211 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3094, allocations: 2.938 kB / 0.5211 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.3098, allocations: 417 kB / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3098, allocations: 0 / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.3099, allocations: 25.03 kB / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3099, allocations: 0 / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3099, allocations: 0 / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3099, allocations: 2.812 kB / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3099, allocations: 0 / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.3101, allocations: 218.3 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.3102, allocations: 94.95 kB / 0.5218 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3102, allocations: 0 / 0.5218 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.3103, allocations: 16.66 kB / 0.5218 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.3103, allocations: 8.984 kB / 0.5218 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3103, allocations: 3.203 kB / 0.5218 GB, free: 32.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.3105, allocations: 192.6 kB / 0.522 GB, free: 32.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3105, allocations: 0 / 0.522 GB, free: 32.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000225/0.3107, allocations: 23.59 kB / 0.522 GB, free: 32.49 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.001181/0.3119, allocations: 1.096 MB / 0.5231 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.3121, allocations: 70.75 kB / 0.5232 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3121, allocations: 0 / 0.5232 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.013e-05/0.3122, allocations: 44.8 kB / 0.5232 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.3125, allocations: 15.59 kB / 0.5232 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.3137, allocations: 0.8792 MB / 0.5241 GB, free: 31.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.3138, allocations: 0.7113 MB / 0.5248 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.3139, allocations: 36.23 kB / 0.5248 GB, free: 30.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3139, allocations: 0 / 0.5248 GB, free: 30.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.754/3.068, allocations: 2.359 MB / 0.5271 GB, free: 30.07 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches