Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 103.1 kB / 17.32 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2815/0.2815, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 70.55 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1185, allocations: 62.45 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003675/0.1222, allocations: 2.085 MB / 481.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.124, allocations: 1.005 MB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1241, allocations: 4 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005608/0.1247, allocations: 247.4 kB / 482.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005476/0.1253, allocations: 239.3 kB / 483.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1264, allocations: 461 kB / 483.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004462/0.1268, allocations: 319.2 kB / 483.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.127, allocations: 68.98 kB / 484 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.1273, allocations: 139.4 kB / 484.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.1276, allocations: 207.2 kB / 484.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.1276, allocations: 12 kB / 484.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.1278, allocations: 75.97 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.1279, allocations: 103.5 kB / 484.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.128, allocations: 123 kB / 484.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.1284, allocations: 330.8 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1284, allocations: 0 / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1284, allocations: 0 / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1284, allocations: 0 / 485 MB, free: 128 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008301/0.1293, allocations: 0.6768 MB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1293, allocations: 8.031 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.1294, allocations: 42.73 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.512e-05/0.1295, allocations: 48.38 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.1299, allocations: 337.9 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1299, allocations: 12.31 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.13, allocations: 12.38 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.1302, allocations: 105.6 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1302, allocations: 4 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1303, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1303, allocations: 7.984 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.1305, allocations: 79.81 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007985/0.1313, allocations: 0.4963 MB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1315, allocations: 90.55 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.1316, allocations: 40.84 kB / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.1316, allocations: 7.922 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1316, allocations: 34.5 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.1316, allocations: 4 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009984/0.1326, allocations: 390.5 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1327, allocations: 59.41 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/0.1334, allocations: 0.58 MB / 488 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1334, allocations: 29.7 kB / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.1336, allocations: 216.3 kB / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.1337, allocations: 63.09 kB / 488.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.1337, allocations: 33.7 kB / 488.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1339, allocations: 354.8 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.134, allocations: 47.97 kB / 488.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1341, allocations: 59.97 kB / 488.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.1343, allocations: 127.2 kB / 488.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1343, allocations: 0 / 488.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003325/0.1347, allocations: 197 kB / 489.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1347, allocations: 4 kB / 489.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1347, allocations: 0 / 489.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1347, allocations: 4 kB / 489.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.1349, allocations: 35.97 kB / 489.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1349, allocations: 4 kB / 489.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.742e-05/0.135, allocations: 11.94 kB / 489.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.135, allocations: 4 kB / 489.1 MB, free: 11.71 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 (17): * Single equations (assignments): 17 * 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.0001654/0.1352, allocations: 177.7 kB / 489.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.1353, allocations: 43.44 kB / 489.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.1357, allocations: 245.7 kB / 489.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1357, allocations: 3.938 kB / 489.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1357, allocations: 0 / 489.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1358, allocations: 0 / 489.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008248/0.1366, allocations: 0.6484 MB / 490.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1366, allocations: 0 / 490.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.1367, allocations: 31.98 kB / 490.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1367, allocations: 0 / 490.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1367, allocations: 8 kB / 490.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1368, allocations: 3.938 kB / 490.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1368, allocations: 3.938 kB / 490.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.1372, allocations: 306.8 kB / 490.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.1373, allocations: 116.6 kB / 490.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.1373, allocations: 4 kB / 490.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1374, allocations: 15.92 kB / 490.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.1374, allocations: 7.984 kB / 490.7 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.1375, allocations: 8 kB / 490.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004278/0.1379, allocations: 443.1 kB / 491.2 MB, free: 9.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1379, allocations: 0 / 491.2 MB, free: 9.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.1382, allocations: 44 kB / 491.2 MB, free: 9.523 MB / 366.1 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 (17): * Single equations (assignments): 17 * 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.002126/0.1403, allocations: 1.437 MB / 492.7 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.1407, allocations: 143.8 kB / 492.8 MB, free: 8.207 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1407, allocations: 0 / 492.8 MB, free: 8.207 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.1408, allocations: 75.89 kB / 492.9 MB, free: 8.133 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.1414, allocations: 79.64 kB / 492.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.1453, allocations: 3.298 MB / 496.2 MB, free: 4.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.1457, allocations: 0.8143 MB / 497.1 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.1458, allocations: 50.23 kB / 497.1 MB, free: 3.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.1459, allocations: 131.4 kB / 497.2 MB, free: 3.664 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.146, allocations: 0 / 497.2 MB, free: 3.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.1633, allocations: 7.378 MB / 0.4928 GB, free: 12.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.1636, allocations: 236.7 kB / 0.493 GB, free: 12.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/2.245, allocations: 0 / 0.493 GB, free: 12.12 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches