Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 104.9 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.001148/0.001149, 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.436/1.436, allocations: 227.4 MB / 246.3 MB, free: 9.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2526/0.2526, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 84.42 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.151, allocations: 62.45 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003244/0.1543, allocations: 1.672 MB / 481.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1554, allocations: 0.5339 MB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.1555, allocations: 0 / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.1558, allocations: 71.84 kB / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.156, allocations: 91.7 kB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.1563, allocations: 79.36 kB / 481.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1564, allocations: 75.81 kB / 481.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1565, allocations: 16 kB / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.037e-05/0.1566, allocations: 35.84 kB / 482 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1567, allocations: 43.83 kB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1567, allocations: 4 kB / 482 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1569, allocations: 47.97 kB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.1569, allocations: 15.92 kB / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.157, allocations: 27.75 kB / 482.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.1571, allocations: 107.9 kB / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1572, allocations: 0 / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1572, allocations: 0 / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1572, allocations: 4 kB / 482.2 MB, free: 2.809 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.0005569/0.1577, allocations: 403.1 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1578, allocations: 8.875 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.1578, allocations: 34.73 kB / 482.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.1579, allocations: 28.62 kB / 482.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1581, allocations: 192.1 kB / 482.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.1581, allocations: 8.359 kB / 482.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1582, allocations: 384 / 482.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1583, allocations: 61.56 kB / 482.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1583, allocations: 4 kB / 482.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1583, allocations: 0 / 482.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1584, allocations: 0 / 482.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.956e-05/0.1585, allocations: 27.97 kB / 483 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.1589, allocations: 288.7 kB / 483.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.159, allocations: 50.5 kB / 483.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.159, allocations: 20.94 kB / 483.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1591, allocations: 0 / 483.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1591, allocations: 34.56 kB / 483.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 4.008e-06/0.1591, allocations: 3.984 kB / 483.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008994/0.16, allocations: 229.1 kB / 483.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.1601, allocations: 51.41 kB / 483.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.1603, allocations: 203.3 kB / 483.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1603, allocations: 25.7 kB / 483.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.1604, allocations: 108.1 kB / 484 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.1604, allocations: 31.55 kB / 484 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.1605, allocations: 21.72 kB / 484 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1606, allocations: 322.8 kB / 484.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.1607, allocations: 23.92 kB / 484.3 MB, free: 452 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.1608, allocations: 27.98 kB / 484.4 MB, free: 424 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.1609, allocations: 60.83 kB / 484.4 MB, free: 360 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1609, allocations: 4 kB / 484.4 MB, free: 356 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000197/0.1611, allocations: 97.55 kB / 484.5 MB, free: 252 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1612, allocations: 8 kB / 484.5 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1612, allocations: 0 / 484.5 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1612, allocations: 0 / 484.5 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1613, allocations: 27.86 kB / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1613, allocations: 3.938 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.1614, allocations: 4 kB / 484.6 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1614, allocations: 4 kB / 484.6 MB, free: 204 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.000109/0.1615, allocations: 129.8 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.1616, allocations: 11.81 kB / 484.7 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.1619, allocations: 119 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1619, allocations: 0 / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1619, allocations: 3.938 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1619, allocations: 0 / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.1624, allocations: 407.7 kB / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1624, allocations: 7.875 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.1625, allocations: 19.92 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1625, allocations: 4 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1625, allocations: 4 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1625, allocations: 80 / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.1625, allocations: 3.984 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1628, allocations: 204.2 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.1628, allocations: 88.95 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1629, allocations: 3.984 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.163, allocations: 11.94 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.163, allocations: 11.98 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.163, allocations: 4 kB / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1631, allocations: 151.9 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1631, allocations: 0 / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1634, allocations: 20 kB / 485.8 MB, free: 14.91 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.001535/0.1649, allocations: 1.072 MB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.1652, allocations: 75.88 kB / 486.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1652, allocations: 0 / 486.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.945e-05/0.1653, allocations: 35.92 kB / 486.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.1657, allocations: 19.98 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.1676, allocations: 1.652 MB / 488.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.168, allocations: 0.7041 MB / 489.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.634e-05/0.168, allocations: 20.95 kB / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.1681, allocations: 31.42 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1681, allocations: 0 / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.1821, allocations: 2.8 MB / 492.2 MB, free: 8.602 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.1824, allocations: 234.1 kB / 492.4 MB, free: 8.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.153, allocations: 0 / 492.4 MB, free: 8.348 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches