Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000992/0.0009919, allocations: 193.8 kB / 16.09 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 226.5 MB / 243.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007634/0.0007632, allocations: 97.41 kB / 295.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3568/0.3568, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002672, allocations: 11.98 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3438, allocations: 62.97 MB / 0.516 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.001592/0.3454, allocations: 1.361 MB / 0.5173 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007241/0.3462, allocations: 0.5302 MB / 0.5178 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.3462, allocations: 0 / 0.5178 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.3467, allocations: 448.7 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.347, allocations: 271.8 kB / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.3474, allocations: 150.8 kB / 0.5186 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3476, allocations: 153.3 kB / 0.5188 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3477, allocations: 23.8 kB / 0.5188 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/0.3478, allocations: 102.3 kB / 0.5189 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.3479, allocations: 170.7 kB / 0.5191 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3479, allocations: 0 / 0.5191 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.072e-05/0.348, allocations: 44.47 kB / 0.5191 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.3481, allocations: 84.28 kB / 0.5192 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.584e-05/0.3482, allocations: 122 kB / 0.5193 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.3484, allocations: 203.1 kB / 0.5195 GB, free: 35.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3484, allocations: 2.969 kB / 0.5195 GB, free: 35.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3484, allocations: 0 / 0.5195 GB, free: 35.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.3484, allocations: 0 / 0.5195 GB, free: 35.26 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.0005172/0.3489, allocations: 0.6012 MB / 0.5201 GB, free: 34.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.349, allocations: 10.59 kB / 0.5201 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.908e-05/0.349, allocations: 38.75 kB / 0.5201 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.349, allocations: 40.28 kB / 0.5202 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.3492, allocations: 309.8 kB / 0.5205 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3493, allocations: 6.562 kB / 0.5205 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3493, allocations: 6.25 kB / 0.5205 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3494, allocations: 60.88 kB / 0.5206 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3495, allocations: 2.938 kB / 0.5206 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.3495, allocations: 0 / 0.5206 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3495, allocations: 0 / 0.5206 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.3496, allocations: 46.58 kB / 0.5206 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.35, allocations: 407.3 kB / 0.521 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.401e-05/0.3501, allocations: 55.06 kB / 0.521 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.3502, allocations: 23.73 kB / 0.5211 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.3502, allocations: 0 / 0.5211 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.3502, allocations: 30.56 kB / 0.5211 GB, free: 33.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.3502, allocations: 3 kB / 0.5211 GB, free: 33.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008729/0.3511, allocations: 350.1 kB / 0.5214 GB, free: 33.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.3511, allocations: 58.31 kB / 0.5215 GB, free: 33.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006392/0.3518, allocations: 0.8761 MB / 0.5223 GB, free: 33.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.3518, allocations: 33.58 kB / 0.5224 GB, free: 33.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3519, allocations: 227.8 kB / 0.5226 GB, free: 33.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.352, allocations: 25.56 kB / 0.5226 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.352, allocations: 7.281 kB / 0.5226 GB, free: 33.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.3521, allocations: 360.5 kB / 0.523 GB, free: 32.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.3521, allocations: 33.78 kB / 0.523 GB, free: 32.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/0.3522, allocations: 37.33 kB / 0.523 GB, free: 32.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3524, allocations: 83.28 kB / 0.5231 GB, free: 32.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3524, allocations: 0 / 0.5231 GB, free: 32.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002126/0.3526, allocations: 160.4 kB / 0.5233 GB, free: 32.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3526, allocations: 5.75 kB / 0.5233 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3526, allocations: 0 / 0.5233 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3526, allocations: 4 kB / 0.5233 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.78e-05/0.3527, allocations: 24 kB / 0.5233 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3528, allocations: 0 / 0.5233 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.3528, allocations: 12.64 kB / 0.5233 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3528, allocations: 6.406 kB / 0.5233 GB, free: 32.63 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 0.0001354/0.353, allocations: 221.5 kB / 0.5235 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.353, allocations: 45.42 kB / 0.5236 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.3533, allocations: 177.4 kB / 0.5237 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3533, allocations: 3.938 kB / 0.5237 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3533, allocations: 0 / 0.5237 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3534, allocations: 0 / 0.5237 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.3539, allocations: 0.5311 MB / 0.5243 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3539, allocations: 0 / 0.5243 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/0.354, allocations: 23.8 kB / 0.5243 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.354, allocations: 4.031 kB / 0.5243 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.354, allocations: 2.969 kB / 0.5243 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.354, allocations: 0 / 0.5243 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.354, allocations: 0 / 0.5243 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.3542, allocations: 265.8 kB / 0.5245 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.3543, allocations: 115.7 kB / 0.5247 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.3543, allocations: 0 / 0.5247 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.3544, allocations: 13.73 kB / 0.5247 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.3545, allocations: 7.125 kB / 0.5247 GB, free: 31.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.3545, allocations: 9.609 kB / 0.5247 GB, free: 31.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004692/0.355, allocations: 0.6589 MB / 0.5253 GB, free: 31.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.355, allocations: 0 / 0.5253 GB, free: 31.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002484/0.3552, allocations: 37.47 kB / 0.5254 GB, free: 31.41 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.001249/0.3565, allocations: 1.139 MB / 0.5265 GB, free: 30.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.3567, allocations: 85.08 kB / 0.5266 GB, free: 30.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3567, allocations: 0 / 0.5266 GB, free: 30.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.909e-05/0.3568, allocations: 46.36 kB / 0.5266 GB, free: 30.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.3572, allocations: 26.67 kB / 0.5266 GB, free: 30.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.3598, allocations: 2.506 MB / 0.5291 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.36, allocations: 0.833 MB / 0.5299 GB, free: 28.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.3601, allocations: 124.6 kB / 0.53 GB, free: 28.58 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3602, allocations: 0 / 0.53 GB, free: 28.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.804/3.164, allocations: 6.904 MB / 0.5367 GB, free: 27.08 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches