Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.11 MB / 343.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001956, allocations: 75.78 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1557, allocations: 62.45 MB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003492/0.1593, allocations: 1.653 MB / 481 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1612, allocations: 1.148 MB / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.1613, allocations: 0 / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.1615, allocations: 19.92 kB / 482.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.1618, allocations: 71.75 kB / 482.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.1622, allocations: 111.6 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1623, allocations: 63.78 kB / 482.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1624, allocations: 11.98 kB / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.1625, allocations: 19.92 kB / 482.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.1627, allocations: 39.83 kB / 482.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1627, allocations: 4 kB / 482.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.1629, allocations: 91.88 kB / 482.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.163, allocations: 15.92 kB / 482.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.163, allocations: 15.88 kB / 482.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.1633, allocations: 143.9 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1633, allocations: 3.938 kB / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1633, allocations: 0 / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1633, allocations: 0 / 482.8 MB, free: 2.16 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.0005296/0.1639, allocations: 395.2 kB / 483.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.1639, allocations: 12.88 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.164, allocations: 42.75 kB / 483.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.164, allocations: 8.844 kB / 483.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.1642, allocations: 188.2 kB / 483.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1643, allocations: 4.375 kB / 483.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.1643, allocations: 384 / 483.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1644, allocations: 67.33 kB / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1645, allocations: 0 / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1645, allocations: 0 / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1645, allocations: 11.94 kB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1646, allocations: 27.91 kB / 483.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.165, allocations: 284.9 kB / 483.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1652, allocations: 42.56 kB / 483.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.1653, allocations: 24.88 kB / 483.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1653, allocations: 4 kB / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1654, allocations: 30.56 kB / 483.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1654, allocations: 0 / 483.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006058/0.166, allocations: 157.2 kB / 484.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.166, allocations: 81.11 kB / 484.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.1662, allocations: 144.2 kB / 484.3 MB, free: 468 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1662, allocations: 29.7 kB / 484.3 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.1663, allocations: 92.12 kB / 484.4 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/0.1664, allocations: 19.72 kB / 484.4 MB, free: 316 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.1664, allocations: 13.72 kB / 484.4 MB, free: 296 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1666, allocations: 326.8 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/0.1666, allocations: 19.98 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.1667, allocations: 41.69 kB / 484.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1669, allocations: 48.83 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1669, allocations: 0 / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002076/0.1671, allocations: 85.59 kB / 484.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1671, allocations: 8 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1671, allocations: 256 / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1672, allocations: 4.031 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.1672, allocations: 12 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1672, allocations: 4 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.1673, allocations: 15.83 kB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1673, allocations: 4 kB / 485 MB, free: 15.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 (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 9.787e-05/0.1674, allocations: 113.8 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.1675, allocations: 7.938 kB / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.1677, allocations: 110 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.1677, allocations: 4 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1677, allocations: 0 / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1678, allocations: 7.922 kB / 485.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.1682, allocations: 350.5 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1682, allocations: 3.938 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.1683, allocations: 23.92 kB / 485.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1683, allocations: 0 / 485.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.1683, allocations: 3.938 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1683, allocations: 3.984 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1683, allocations: 0 / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.1686, allocations: 183.4 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.1686, allocations: 77.11 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1687, allocations: 11.94 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.1688, allocations: 7.984 kB / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.1688, allocations: 4 kB / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1688, allocations: 192 / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1689, allocations: 115.2 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1689, allocations: 0 / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.1694, allocations: 39.98 kB / 486 MB, free: 14.55 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.001629/0.171, allocations: 1.101 MB / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.1713, allocations: 55.89 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1713, allocations: 0 / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.1714, allocations: 27.92 kB / 487.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1717, allocations: 15.98 kB / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.1734, allocations: 1.458 MB / 488.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1737, allocations: 0.6926 MB / 489.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.522e-05/0.1738, allocations: 20.2 kB / 489.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.1738, allocations: 23.42 kB / 489.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of SimCode: time 2.284e-06/0.1738, allocations: 0 / 489.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.1885, allocations: 3.023 MB / 492.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.1888, allocations: 244 kB / 492.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.075, allocations: 0 / 492.7 MB, free: 8.004 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches