Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001696/0.001696, 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.002114/0.002114, allocations: 209.8 kB / 18.14 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.44/1.44, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 78.52 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1408, allocations: 62.45 MB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003262/0.1441, allocations: 1.676 MB / 481.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009944/0.1451, allocations: 0.5378 MB / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.1452, allocations: 0 / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.1455, allocations: 83.75 kB / 481.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.1458, allocations: 79.8 kB / 481.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1462, allocations: 107.8 kB / 481.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.1463, allocations: 75.81 kB / 481.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1464, allocations: 15.98 kB / 482 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.524e-05/0.1465, allocations: 35.84 kB / 482 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1466, allocations: 55.83 kB / 482 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.1467, allocations: 0 / 482 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1468, allocations: 51.91 kB / 482.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.1469, allocations: 19.92 kB / 482.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.1469, allocations: 35.73 kB / 482.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.1471, allocations: 104 kB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1472, allocations: 0 / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1472, allocations: 3.938 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1472, allocations: 0 / 482.3 MB, free: 2.762 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005054/0.1477, allocations: 411 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1477, allocations: 16.88 kB / 482.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.1478, allocations: 30.75 kB / 482.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.1478, allocations: 8.844 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.148, allocations: 208.7 kB / 482.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-06/0.1481, allocations: 384 / 482.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.1481, allocations: 12.31 kB / 482.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1482, allocations: 53.61 kB / 483 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1483, allocations: 7.906 kB / 483 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1483, allocations: 4 kB / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1483, allocations: 4 kB / 483 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1484, allocations: 27.97 kB / 483 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.1488, allocations: 300.7 kB / 483.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1489, allocations: 50.53 kB / 483.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.149, allocations: 20.86 kB / 483.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.149, allocations: 0 / 483.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1491, allocations: 34.66 kB / 483.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1491, allocations: 0 / 483.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009513/0.15, allocations: 257 kB / 483.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.1501, allocations: 55.34 kB / 483.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.1503, allocations: 210.8 kB / 483.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1503, allocations: 25.7 kB / 484 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.1504, allocations: 112.1 kB / 484.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1504, allocations: 27.61 kB / 484.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.1505, allocations: 17.72 kB / 484.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1506, allocations: 326.8 kB / 484.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.1507, allocations: 27.98 kB / 484.5 MB, free: 340 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.1508, allocations: 31.97 kB / 484.5 MB, free: 308 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1509, allocations: 76.81 kB / 484.6 MB, free: 228 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1509, allocations: 0 / 484.6 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002274/0.1512, allocations: 113.7 kB / 484.7 MB, free: 108 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1512, allocations: 8 kB / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1512, allocations: 0 / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1512, allocations: 0 / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1513, allocations: 19.98 kB / 484.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.1514, allocations: 8 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.1514, allocations: 4 kB / 484.7 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1514, allocations: 4 kB / 484.7 MB, free: 64 kB / 350.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 (8): * Single equations (assignments): 8 * 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.0001129/0.1515, allocations: 125.8 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.1516, allocations: 11.81 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.1519, allocations: 142.9 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1519, allocations: 0 / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1519, allocations: 7.938 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1519, allocations: 0 / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.1525, allocations: 419.3 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1525, allocations: 0 / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.042e-05/0.1526, allocations: 19.92 kB / 485.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1526, allocations: 4 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1526, allocations: 3.938 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1526, allocations: 0 / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1526, allocations: 0 / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.1529, allocations: 224.1 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.153, allocations: 88.95 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.153, allocations: 4 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.1531, allocations: 11.92 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.1531, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1531, allocations: 8 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1533, allocations: 168.7 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1533, allocations: 4 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1536, allocations: 23.98 kB / 486 MB, free: 14.71 MB / 366.1 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 (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.001491/0.155, allocations: 1.088 MB / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1553, allocations: 71.94 kB / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1553, allocations: 0 / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.726e-05/0.1554, allocations: 47.91 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.1558, allocations: 15.98 kB / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.1578, allocations: 1.727 MB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1582, allocations: 0.7083 MB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.528e-05/0.1583, allocations: 20.64 kB / 489.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.1583, allocations: 39.42 kB / 489.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1583, allocations: 0 / 489.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.1722, allocations: 2.914 MB / 492.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.1724, allocations: 243 kB / 492.8 MB, free: 7.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.098, allocations: 0 / 492.8 MB, free: 7.926 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches