Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 194.9 kB / 16.09 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.298/1.298, allocations: 226.5 MB / 243.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008354/0.0008354, allocations: 104.1 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2918/0.2918, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002463/0.0002463, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2947, allocations: 62.96 MB / 0.516 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001752/0.2965, allocations: 1.341 MB / 0.5173 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000771/0.2973, allocations: 0.5025 MB / 0.5178 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.2974, allocations: 2.469 kB / 0.5178 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.2977, allocations: 83.45 kB / 0.5178 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.2979, allocations: 97.17 kB / 0.5179 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.2982, allocations: 82.73 kB / 0.518 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.2983, allocations: 82.97 kB / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2984, allocations: 20.33 kB / 0.5181 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.2985, allocations: 35.95 kB / 0.5181 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.252e-05/0.2986, allocations: 45.78 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2986, allocations: 6.969 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.599e-05/0.2987, allocations: 41.94 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.2988, allocations: 22.97 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.2988, allocations: 62.61 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.2989, allocations: 89.59 kB / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.299, allocations: 0 / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.299, allocations: 0 / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.299, allocations: 3.938 kB / 0.5184 GB, free: 35.46 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.0004129/0.2994, allocations: 413.8 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2994, allocations: 15.44 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.2995, allocations: 34.75 kB / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.2995, allocations: 14.41 kB / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.2997, allocations: 212.6 kB / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.2997, allocations: 7.375 kB / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.2997, allocations: 3.344 kB / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.2999, allocations: 72.84 kB / 0.5191 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.2999, allocations: 6.906 kB / 0.5192 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.2999, allocations: 0 / 0.5192 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3, allocations: 4 kB / 0.5192 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3001, allocations: 43.86 kB / 0.5192 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.3005, allocations: 331.7 kB / 0.5195 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.3006, allocations: 67.69 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.3007, allocations: 23.83 kB / 0.5196 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.3007, allocations: 0 / 0.5196 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.3007, allocations: 37.47 kB / 0.5196 GB, free: 34.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.3007, allocations: 0 / 0.5196 GB, free: 34.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001086/0.3018, allocations: 342 kB / 0.52 GB, free: 34.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.3019, allocations: 51.41 kB / 0.52 GB, free: 34.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.3021, allocations: 243.2 kB / 0.5202 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.3021, allocations: 25.7 kB / 0.5203 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.3022, allocations: 112.7 kB / 0.5204 GB, free: 33.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.3022, allocations: 44.58 kB / 0.5204 GB, free: 33.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.3023, allocations: 4 kB / 0.5204 GB, free: 33.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.291e-05/0.3023, allocations: 332 kB / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.3024, allocations: 37.2 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.259e-05/0.3025, allocations: 41.89 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.3027, allocations: 103 kB / 0.5209 GB, free: 33.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3027, allocations: 0 / 0.5209 GB, free: 33.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002194/0.3029, allocations: 142.6 kB / 0.5211 GB, free: 33.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3029, allocations: 12.88 kB / 0.5211 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.303, allocations: 0 / 0.5211 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.303, allocations: 3.938 kB / 0.5211 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.3031, allocations: 27.23 kB / 0.5211 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3031, allocations: 3.938 kB / 0.5211 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.3032, allocations: 11 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3032, allocations: 2.906 kB / 0.5211 GB, free: 33.32 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.753e-05/0.3033, allocations: 135.2 kB / 0.5212 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.3033, allocations: 11.75 kB / 0.5213 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.3036, allocations: 173.7 kB / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3036, allocations: 7.875 kB / 0.5214 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3036, allocations: 0 / 0.5214 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3037, allocations: 6.875 kB / 0.5214 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.3042, allocations: 485.9 kB / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3042, allocations: 0 / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-05/0.3043, allocations: 36.19 kB / 0.5219 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3043, allocations: 0 / 0.5219 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3043, allocations: 2.531 kB / 0.5219 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3043, allocations: 3.375 kB / 0.5219 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3043, allocations: 3.984 kB / 0.5219 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.3045, allocations: 258.7 kB / 0.5222 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.3046, allocations: 90.83 kB / 0.5223 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.3046, allocations: 4 kB / 0.5223 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.3047, allocations: 13.48 kB / 0.5223 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.3047, allocations: 9.625 kB / 0.5223 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-06/0.3048, allocations: 6.969 kB / 0.5223 GB, free: 32.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.3049, allocations: 181.2 kB / 0.5225 GB, free: 32.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3049, allocations: 0 / 0.5225 GB, free: 32.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.3051, allocations: 28.81 kB / 0.5225 GB, free: 32.3 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.001331/0.3065, allocations: 1.119 MB / 0.5236 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.3067, allocations: 111.7 kB / 0.5237 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3067, allocations: 0 / 0.5237 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.3068, allocations: 58.64 kB / 0.5238 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.3072, allocations: 20.23 kB / 0.5238 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.3084, allocations: 0.9545 MB / 0.5247 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.3086, allocations: 0.7258 MB / 0.5254 GB, free: 30.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.3087, allocations: 46.66 kB / 0.5255 GB, free: 30.08 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3087, allocations: 0 / 0.5255 GB, free: 30.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.857/3.166, allocations: 2.529 MB / 0.5279 GB, free: 29.8 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches