Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 199.6 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.279/1.279, allocations: 226.5 MB / 243.4 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007029/0.0007029, allocations: 96.12 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.2995/0.2995, allocations: 44.81 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002594, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3407, allocations: 62.96 MB / 0.516 GB, free: 37.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.001997/0.3427, allocations: 1.345 MB / 0.5173 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007774/0.3435, allocations: 0.5047 MB / 0.5178 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.3436, allocations: 2.938 kB / 0.5178 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.3441, allocations: 442.3 kB / 0.5182 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.3444, allocations: 269.7 kB / 0.5184 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.3448, allocations: 114.5 kB / 0.5186 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.3449, allocations: 127.3 kB / 0.5187 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3451, allocations: 29.3 kB / 0.5187 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3452, allocations: 104.4 kB / 0.5188 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.3454, allocations: 159.4 kB / 0.519 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3454, allocations: 2.938 kB / 0.519 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.121e-05/0.3455, allocations: 29.89 kB / 0.519 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.3456, allocations: 86.02 kB / 0.5191 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.099e-05/0.3457, allocations: 121.7 kB / 0.5192 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.3459, allocations: 186 kB / 0.5194 GB, free: 35.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3459, allocations: 0 / 0.5194 GB, free: 35.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3459, allocations: 0 / 0.5194 GB, free: 35.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.3459, allocations: 0 / 0.5194 GB, free: 35.69 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.0005809/0.3465, allocations: 0.5999 MB / 0.5199 GB, free: 35.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3466, allocations: 9.094 kB / 0.52 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.3466, allocations: 30.75 kB / 0.52 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.3467, allocations: 44.44 kB / 0.52 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.3469, allocations: 304.4 kB / 0.5203 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3469, allocations: 12.38 kB / 0.5203 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.347, allocations: 3.25 kB / 0.5203 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3471, allocations: 58.33 kB / 0.5204 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3471, allocations: 0 / 0.5204 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3471, allocations: 0 / 0.5204 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3472, allocations: 0 / 0.5204 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.905e-05/0.3473, allocations: 30.86 kB / 0.5204 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.3477, allocations: 392 kB / 0.5208 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.3479, allocations: 45.67 kB / 0.5208 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.348, allocations: 16.44 kB / 0.5209 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.348, allocations: 4 kB / 0.5209 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.348, allocations: 34.56 kB / 0.5209 GB, free: 34.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.348, allocations: 0 / 0.5209 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006056/0.3486, allocations: 243.7 kB / 0.5211 GB, free: 34.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.3487, allocations: 54.59 kB / 0.5212 GB, free: 34.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007493/0.3494, allocations: 0.8794 MB / 0.522 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.3494, allocations: 25.7 kB / 0.5221 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3496, allocations: 227.9 kB / 0.5223 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.3496, allocations: 14.05 kB / 0.5223 GB, free: 33.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.3496, allocations: 4 kB / 0.5223 GB, free: 33.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.3497, allocations: 361.7 kB / 0.5226 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/0.3498, allocations: 25.7 kB / 0.5227 GB, free: 33.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.706e-05/0.3498, allocations: 22.31 kB / 0.5227 GB, free: 33.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.35, allocations: 55.5 kB / 0.5227 GB, free: 33.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.35, allocations: 0 / 0.5227 GB, free: 33.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001866/0.3502, allocations: 124.2 kB / 0.5229 GB, free: 33.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3502, allocations: 5.094 kB / 0.5229 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3502, allocations: 0 / 0.5229 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3502, allocations: 4 kB / 0.5229 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.3503, allocations: 19.58 kB / 0.5229 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3503, allocations: 3.938 kB / 0.5229 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.3504, allocations: 12.8 kB / 0.5229 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3504, allocations: 2.969 kB / 0.5229 GB, free: 33.15 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 0.0001468/0.3505, allocations: 210.3 kB / 0.5231 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.3506, allocations: 41.81 kB / 0.5231 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.3508, allocations: 147 kB / 0.5233 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3508, allocations: 0 / 0.5233 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3508, allocations: 3.25 kB / 0.5233 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3509, allocations: 7.266 kB / 0.5233 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.3513, allocations: 477 kB / 0.5237 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3513, allocations: 0 / 0.5237 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/0.3514, allocations: 11.94 kB / 0.5238 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3514, allocations: 3.422 kB / 0.5238 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3514, allocations: 3.938 kB / 0.5238 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3514, allocations: 0 / 0.5238 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3514, allocations: 7.984 kB / 0.5238 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.3516, allocations: 226.4 kB / 0.524 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.3517, allocations: 106.4 kB / 0.5241 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.3517, allocations: 7.312 kB / 0.5241 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.3518, allocations: 10.62 kB / 0.5241 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.3519, allocations: 11.08 kB / 0.5241 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.3519, allocations: 2.75 kB / 0.5241 GB, free: 32.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005086/0.3524, allocations: 0.6563 MB / 0.5248 GB, free: 32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3524, allocations: 2.219 kB / 0.5248 GB, free: 32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.3526, allocations: 23.98 kB / 0.5248 GB, free: 31.99 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.001108/0.3537, allocations: 1.056 MB / 0.5258 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.3539, allocations: 54.16 kB / 0.5259 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3539, allocations: 0 / 0.5259 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.354, allocations: 30.48 kB / 0.5259 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.3544, allocations: 24.58 kB / 0.5259 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.3569, allocations: 2.383 MB / 0.5282 GB, free: 30.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3573, allocations: 0.8268 MB / 0.5291 GB, free: 29.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.3574, allocations: 100.5 kB / 0.5292 GB, free: 29.29 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3574, allocations: 0 / 0.5292 GB, free: 29.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.799/3.156, allocations: 6.577 MB / 0.5356 GB, free: 27.84 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches