Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 198.3 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.253/1.253, allocations: 226.5 MB / 243.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007203/0.0007202, allocations: 104.2 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2794/0.2794, allocations: 44.81 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002686/0.0002687, allocations: 11.98 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2899, allocations: 62.96 MB / 0.516 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001599/0.2915, allocations: 1.287 MB / 0.5172 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006882/0.2922, allocations: 494 kB / 0.5177 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.2923, allocations: 0 / 0.5177 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.2925, allocations: 29.3 kB / 0.5177 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.2927, allocations: 61.77 kB / 0.5178 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.293, allocations: 79.3 kB / 0.5179 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.2931, allocations: 54.06 kB / 0.5179 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.2932, allocations: 20.73 kB / 0.5179 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.843e-05/0.2932, allocations: 24.14 kB / 0.518 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.2933, allocations: 22.19 kB / 0.518 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2933, allocations: 0 / 0.518 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.954e-05/0.2934, allocations: 29.12 kB / 0.518 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.2934, allocations: 9.281 kB / 0.518 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.2935, allocations: 55.88 kB / 0.5181 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.2936, allocations: 55.14 kB / 0.5181 GB, free: 35.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2936, allocations: 3.234 kB / 0.5181 GB, free: 35.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2936, allocations: 2.875 kB / 0.5181 GB, free: 35.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.2936, allocations: 0 / 0.5181 GB, free: 35.44 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003888/0.294, allocations: 383.4 kB / 0.5185 GB, free: 35.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2941, allocations: 7.594 kB / 0.5185 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.2941, allocations: 38.03 kB / 0.5185 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.2941, allocations: 11.5 kB / 0.5185 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2943, allocations: 191.8 kB / 0.5187 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2943, allocations: 7.188 kB / 0.5187 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.2943, allocations: 4 kB / 0.5187 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.2945, allocations: 49.59 kB / 0.5188 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2945, allocations: 7.938 kB / 0.5188 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.2945, allocations: 0 / 0.5188 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2945, allocations: 2.656 kB / 0.5188 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.834e-05/0.2946, allocations: 30.91 kB / 0.5188 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.2949, allocations: 276.5 kB / 0.5191 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.2951, allocations: 47.75 kB / 0.5191 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.2952, allocations: 17.08 kB / 0.5191 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.2952, allocations: 0 / 0.5191 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.2952, allocations: 41.47 kB / 0.5192 GB, free: 34.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.2952, allocations: 0 / 0.5192 GB, free: 34.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005087/0.2957, allocations: 156.3 kB / 0.5193 GB, free: 34.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.2958, allocations: 55.34 kB / 0.5194 GB, free: 34.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.2959, allocations: 184.7 kB / 0.5196 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.2959, allocations: 25.7 kB / 0.5196 GB, free: 34.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.296, allocations: 102.1 kB / 0.5197 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.296, allocations: 10.66 kB / 0.5197 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.296, allocations: 0 / 0.5197 GB, free: 33.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5e-05/0.296, allocations: 325 kB / 0.52 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.2961, allocations: 19.02 kB / 0.52 GB, free: 33.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.2962, allocations: 24.5 kB / 0.52 GB, free: 33.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.2963, allocations: 62.2 kB / 0.5201 GB, free: 33.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.2963, allocations: 0 / 0.5201 GB, free: 33.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001535/0.2965, allocations: 89.73 kB / 0.5202 GB, free: 33.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.2965, allocations: 5.531 kB / 0.5202 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2965, allocations: 288 / 0.5202 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2965, allocations: 2.531 kB / 0.5202 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.2966, allocations: 14.75 kB / 0.5202 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2966, allocations: 3.938 kB / 0.5202 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.2966, allocations: 13.25 kB / 0.5202 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.2967, allocations: 0 / 0.5202 GB, free: 33.54 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 (5): * Single equations (assignments): 5 * 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.482e-05/0.2967, allocations: 115.8 kB / 0.5203 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.2968, allocations: 17.73 kB / 0.5204 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.297, allocations: 106 kB / 0.5205 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.297, allocations: 4 kB / 0.5205 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.297, allocations: 3.938 kB / 0.5205 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.297, allocations: 7.125 kB / 0.5205 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.2973, allocations: 354.2 kB / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2973, allocations: 0 / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.2974, allocations: 16.7 kB / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2974, allocations: 3.938 kB / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2974, allocations: 2.75 kB / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2974, allocations: 0 / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2974, allocations: 0 / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.2976, allocations: 189.2 kB / 0.521 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.2976, allocations: 95.3 kB / 0.5211 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.2977, allocations: 8 kB / 0.5211 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.2977, allocations: 10.17 kB / 0.5211 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.2978, allocations: 0 / 0.5211 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2978, allocations: 2.812 kB / 0.5211 GB, free: 32.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.439e-05/0.2979, allocations: 135.2 kB / 0.5213 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2979, allocations: 4 kB / 0.5213 GB, free: 32.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.2981, allocations: 12.94 kB / 0.5213 GB, free: 32.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001012/0.2991, allocations: 1.009 MB / 0.5223 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.2993, allocations: 58.11 kB / 0.5223 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2993, allocations: 0 / 0.5223 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.727e-05/0.2994, allocations: 34.36 kB / 0.5223 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.2997, allocations: 13.44 kB / 0.5224 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/0.3007, allocations: 0.6453 MB / 0.523 GB, free: 31.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.3008, allocations: 0.6935 MB / 0.5237 GB, free: 30.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.3009, allocations: 32.72 kB / 0.5237 GB, free: 30.67 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3009, allocations: 0 / 0.5237 GB, free: 30.67 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.912/3.213, allocations: 1.787 MB / 0.5254 GB, free: 30.49 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches