Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.00149/0.00149, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002212/0.002212, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2462/0.2462, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 70.83 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1302, allocations: 62.44 MB / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003194/0.1334, allocations: 1.659 MB / 481 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.1353, allocations: 1.148 MB / 482.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.1354, allocations: 0 / 482.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.1356, allocations: 23.91 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.1359, allocations: 63.77 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.1363, allocations: 115.6 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1364, allocations: 51.91 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1365, allocations: 16 kB / 482.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.989e-05/0.1366, allocations: 27.8 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1368, allocations: 35.83 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1368, allocations: 4 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.137, allocations: 95.88 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.137, allocations: 4 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.1371, allocations: 31.78 kB / 482.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1374, allocations: 132 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1374, allocations: 4 kB / 482.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1374, allocations: 0 / 482.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1374, allocations: 0 / 482.8 MB, free: 2.215 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005988/0.138, allocations: 399.2 kB / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1381, allocations: 12.81 kB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.1381, allocations: 34.75 kB / 483.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.1382, allocations: 8.844 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.1384, allocations: 196.2 kB / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.1384, allocations: 384 / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1384, allocations: 8.375 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1386, allocations: 71.33 kB / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1386, allocations: 0 / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1386, allocations: 0 / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1386, allocations: 0 / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.753e-05/0.1387, allocations: 31.91 kB / 483.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.1392, allocations: 280.9 kB / 483.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.1394, allocations: 46.56 kB / 483.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.1395, allocations: 16.94 kB / 483.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1395, allocations: 0 / 483.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1395, allocations: 38.5 kB / 483.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1395, allocations: 4 kB / 483.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006024/0.1401, allocations: 153.2 kB / 484.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.1402, allocations: 81.11 kB / 484.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.1404, allocations: 144.6 kB / 484.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1404, allocations: 29.64 kB / 484.3 MB, free: 488 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.1404, allocations: 96.12 kB / 484.4 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1405, allocations: 15.72 kB / 484.4 MB, free: 372 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.1405, allocations: 17.72 kB / 484.4 MB, free: 348 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1407, allocations: 330.7 kB / 484.8 MB, free: 8 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-05/0.1408, allocations: 19.98 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.1408, allocations: 37.69 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.141, allocations: 52.83 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.141, allocations: 0 / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001975/0.1412, allocations: 85.64 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1412, allocations: 4 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1412, allocations: 3.984 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1413, allocations: 4.281 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.1413, allocations: 8 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1414, allocations: 0 / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.1414, allocations: 16.08 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1414, allocations: 0 / 485 MB, free: 15.77 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 (5): * Single equations (assignments): 5 * 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.0001015/0.1415, allocations: 117.8 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.1416, allocations: 11.98 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.1418, allocations: 113.7 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1418, allocations: 0 / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1418, allocations: 0 / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1419, allocations: 3.938 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.1423, allocations: 362.5 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1423, allocations: 0 / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.1424, allocations: 11.98 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1424, allocations: 0 / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1424, allocations: 7.938 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1424, allocations: 3.938 kB / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1424, allocations: 0 / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1427, allocations: 187.4 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.1427, allocations: 77.11 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1428, allocations: 3.938 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.1428, allocations: 7.984 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.1429, allocations: 4 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1429, allocations: 3.938 kB / 485.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.143, allocations: 115.2 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.143, allocations: 0 / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.1433, allocations: 39.98 kB / 486 MB, free: 14.61 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 (5): * Single equations (assignments): 5 * 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.001527/0.1448, allocations: 1.097 MB / 487.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1451, allocations: 63.83 kB / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1451, allocations: 4 kB / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.1451, allocations: 27.92 kB / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.1455, allocations: 15.98 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.1472, allocations: 1.461 MB / 488.7 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1475, allocations: 0.6926 MB / 489.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.528e-05/0.1476, allocations: 16.2 kB / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.1477, allocations: 27.42 kB / 489.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1477, allocations: 0 / 489.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.1627, allocations: 3.02 MB / 492.5 MB, free: 8.309 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.1629, allocations: 235.3 kB / 492.7 MB, free: 8.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.122, allocations: 64 / 492.7 MB, free: 8.055 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches