Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009032/0.0009032, allocations: 96.97 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008755/0.0008756, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1952/0.1952, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002485/0.0002485, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1117, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.001982/0.1137, allocations: 1.4 MB / 484.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009987/0.1147, allocations: 0.5378 MB / 485.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.1148, allocations: 4 kB / 485.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1151, allocations: 71.84 kB / 485.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1153, allocations: 87.72 kB / 485.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.1157, allocations: 119 kB / 485.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1159, allocations: 79.77 kB / 485.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.116, allocations: 28.2 kB / 485.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.1161, allocations: 27.86 kB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.1162, allocations: 51.81 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1162, allocations: 4 kB / 485.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.676e-05/0.1163, allocations: 43.98 kB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.1164, allocations: 27.91 kB / 485.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.1164, allocations: 61.38 kB / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1167, allocations: 115.8 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.1167, allocations: 4 kB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.626e-06/0.1167, allocations: 0 / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1167, allocations: 0 / 485.8 MB, free: 1.391 MB / 350.1 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.0005981/0.1173, allocations: 421.3 kB / 486.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1174, allocations: 8.875 kB / 486.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.1174, allocations: 38.69 kB / 486.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.1174, allocations: 12.84 kB / 486.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.1177, allocations: 204 kB / 486.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1177, allocations: 4.375 kB / 486.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.1177, allocations: 8.375 kB / 486.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1179, allocations: 77.47 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1179, allocations: 3.984 kB / 486.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1179, allocations: 4 kB / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1179, allocations: 0 / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.1181, allocations: 47.97 kB / 486.6 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1185, allocations: 316.6 kB / 486.9 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1188, allocations: 58.56 kB / 487 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.814e-05/0.1188, allocations: 28.97 kB / 487 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1189, allocations: 7.984 kB / 487 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.1189, allocations: 34.66 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1189, allocations: 3.938 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001532/0.1205, allocations: 473.2 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.1205, allocations: 59.39 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.1208, allocations: 214.9 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1208, allocations: 29.7 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.1209, allocations: 116 kB / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.1209, allocations: 35.53 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.121, allocations: 13.72 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1211, allocations: 326.8 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1213, allocations: 55.95 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1214, allocations: 56.02 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.1217, allocations: 120.8 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1217, allocations: 0 / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003216/0.122, allocations: 165.4 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.122, allocations: 4 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1221, allocations: 0 / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1221, allocations: 3.938 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1222, allocations: 31.98 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1222, allocations: 4.062 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.1223, allocations: 15.98 kB / 488.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1223, allocations: 8 kB / 488.8 MB, free: 14.21 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.1224, allocations: 133.8 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.1225, allocations: 11.81 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.1229, allocations: 179 kB / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1229, allocations: 7.938 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1229, allocations: 4 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1229, allocations: 0 / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/0.1236, allocations: 0.4959 MB / 489.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1236, allocations: 0 / 489.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1237, allocations: 27.98 kB / 489.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1237, allocations: 7.938 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1237, allocations: 4 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1237, allocations: 8.062 kB / 489.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1237, allocations: 0 / 489.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.1241, allocations: 261 kB / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.1242, allocations: 96.91 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1242, allocations: 4 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1243, allocations: 19.98 kB / 490 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1244, allocations: 11.94 kB / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.1244, allocations: 7.984 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1245, allocations: 164.3 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1245, allocations: 0 / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1248, allocations: 24 kB / 490.2 MB, free: 12.64 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001487/0.1263, allocations: 1.153 MB / 491.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.1266, allocations: 127.9 kB / 491.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1266, allocations: 0 / 491.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.1268, allocations: 68.03 kB / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1271, allocations: 19.98 kB / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.1294, allocations: 1.949 MB / 493.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.1297, allocations: 0.716 MB / 494.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.431e-05/0.1298, allocations: 24.53 kB / 494.3 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.803e-05/0.1299, allocations: 39.42 kB / 494.3 MB, free: 8.566 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1299, allocations: 0 / 494.3 MB, free: 8.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.1438, allocations: 3.018 MB / 497.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.144, allocations: 234.8 kB / 497.6 MB, free: 5.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/1.943, allocations: 4 kB / 497.6 MB, free: 5.402 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches