Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 200 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.245/1.245, 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.0007465/0.0007465, allocations: 98.17 kB / 295.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2817/0.2817, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002664, allocations: 11.98 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2536, allocations: 62.96 MB / 0.516 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.001618/0.2552, allocations: 1.371 MB / 0.5173 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007508/0.256, allocations: 0.5275 MB / 0.5178 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.2561, allocations: 3.938 kB / 0.5178 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.2563, allocations: 70.8 kB / 0.5179 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.2566, allocations: 80.47 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.2569, allocations: 163.4 kB / 0.5181 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.2571, allocations: 75.64 kB / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.2572, allocations: 20.3 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.2572, allocations: 33.44 kB / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.064e-05/0.2573, allocations: 50.23 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.2573, allocations: 2.5 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.399e-05/0.2574, allocations: 40.56 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.2575, allocations: 24.02 kB / 0.5184 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.2575, allocations: 61.33 kB / 0.5184 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.2577, allocations: 95.45 kB / 0.5185 GB, free: 35.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2577, allocations: 0 / 0.5185 GB, free: 35.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2577, allocations: 0 / 0.5185 GB, free: 35.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2577, allocations: 0 / 0.5185 GB, free: 35.49 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003931/0.2581, allocations: 419.8 kB / 0.5189 GB, free: 35.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2581, allocations: 8.688 kB / 0.5189 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.2582, allocations: 33.53 kB / 0.5189 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.2582, allocations: 14.11 kB / 0.519 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.2584, allocations: 210.6 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.2584, allocations: 3.406 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.2584, allocations: 3.219 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.2586, allocations: 82.64 kB / 0.5192 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2586, allocations: 0 / 0.5192 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.2586, allocations: 0 / 0.5192 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2586, allocations: 2.812 kB / 0.5192 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.2587, allocations: 48.45 kB / 0.5193 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.2591, allocations: 338 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.2593, allocations: 63.67 kB / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.2594, allocations: 30.52 kB / 0.5197 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.2595, allocations: 2.969 kB / 0.5197 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.2595, allocations: 34.56 kB / 0.5197 GB, free: 34.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/0.2595, allocations: 96 / 0.5197 GB, free: 34.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001396/0.2609, allocations: 0.499 MB / 0.5202 GB, free: 34.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.2609, allocations: 58.28 kB / 0.5203 GB, free: 34.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.2611, allocations: 216 kB / 0.5205 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.2611, allocations: 33.7 kB / 0.5205 GB, free: 33.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.2611, allocations: 112.1 kB / 0.5206 GB, free: 33.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.2612, allocations: 37.62 kB / 0.5207 GB, free: 33.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.2612, allocations: 0 / 0.5207 GB, free: 33.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.2612, allocations: 328 kB / 0.521 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.2614, allocations: 61.5 kB / 0.521 GB, free: 33.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.2615, allocations: 68.98 kB / 0.5211 GB, free: 33.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.2617, allocations: 142.1 kB / 0.5212 GB, free: 33.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.2617, allocations: 3.938 kB / 0.5212 GB, free: 33.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002989/0.2621, allocations: 175.9 kB / 0.5214 GB, free: 33.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2621, allocations: 5.375 kB / 0.5214 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2621, allocations: 0 / 0.5214 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2621, allocations: 3.938 kB / 0.5214 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.2622, allocations: 29.7 kB / 0.5214 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2622, allocations: 2.875 kB / 0.5215 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.2623, allocations: 20.31 kB / 0.5215 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.2623, allocations: 2.906 kB / 0.5215 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 (11): * Single equations (assignments): 11 * 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.031e-05/0.2624, allocations: 136.2 kB / 0.5216 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.2624, allocations: 13.44 kB / 0.5216 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.2628, allocations: 208.1 kB / 0.5218 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2628, allocations: 3.938 kB / 0.5218 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2628, allocations: 0 / 0.5218 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.2628, allocations: 0 / 0.5218 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.2634, allocations: 0.5285 MB / 0.5223 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2634, allocations: 0 / 0.5223 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.535e-05/0.2635, allocations: 29.69 kB / 0.5224 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2635, allocations: 0 / 0.5224 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2636, allocations: 18.8 kB / 0.5224 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2636, allocations: 0 / 0.5224 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2636, allocations: 0 / 0.5224 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.2639, allocations: 298 kB / 0.5227 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.264, allocations: 87.23 kB / 0.5227 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.264, allocations: 6.938 kB / 0.5228 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.423e-05/0.2641, allocations: 14.84 kB / 0.5228 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.2641, allocations: 10.03 kB / 0.5228 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.2641, allocations: 6.969 kB / 0.5228 GB, free: 32.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.2643, allocations: 166.7 kB / 0.5229 GB, free: 32.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2643, allocations: 3.938 kB / 0.5229 GB, free: 32.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.2645, allocations: 32.67 kB / 0.523 GB, free: 32.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001232/0.2657, allocations: 1.165 MB / 0.5241 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.2661, allocations: 150.4 kB / 0.5243 GB, free: 31.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2661, allocations: 0 / 0.5243 GB, free: 31.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.2662, allocations: 77.77 kB / 0.5243 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.2665, allocations: 17.55 kB / 0.5244 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.2678, allocations: 1.027 MB / 0.5254 GB, free: 30.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.2679, allocations: 0.7202 MB / 0.5261 GB, free: 30.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.268, allocations: 42.95 kB / 0.5261 GB, free: 30.03 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.268, allocations: 0 / 0.5261 GB, free: 30.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.82/3.088, allocations: 2.574 MB / 0.5286 GB, free: 29.75 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches