Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008428/0.0008428, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8908/0.8908, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2379/0.2379, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] 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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.4e-05, allocations: 2.281 kB / 442.2 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.1628/0.1628, allocations: 1.665 MB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007021/0.1635, allocations: 0.5416 MB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.1636, allocations: 0.8438 kB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.1638, allocations: 68.86 kB / 444.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.164, allocations: 106.4 kB / 444.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.1642, allocations: 133.7 kB / 444.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.1643, allocations: 90.94 kB / 444.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.1644, allocations: 15.56 kB / 444.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.035e-05/0.1645, allocations: 47.17 kB / 444.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.1646, allocations: 59.36 kB / 444.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1646, allocations: 5.344 kB / 444.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.934e-05/0.1647, allocations: 55.55 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.1647, allocations: 25.84 kB / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.1647, allocations: 17.62 kB / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.1649, allocations: 121.5 kB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1649, allocations: 0 / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1649, allocations: 0 / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1649, allocations: 2.906 kB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003618/0.1652, allocations: 362.9 kB / 445.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1653, allocations: 12.7 kB / 445.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.199e-05/0.1653, allocations: 36.69 kB / 445.5 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.1653, allocations: 10.73 kB / 445.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1654, allocations: 146.7 kB / 445.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.1654, allocations: 3.281 kB / 445.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1655, allocations: 6.312 kB / 445.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1656, allocations: 59.97 kB / 445.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1656, allocations: 4.047 kB / 445.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1656, allocations: 4.312 kB / 445.8 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1656, allocations: 8.906 kB / 445.8 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.686e-05/0.1657, allocations: 37.8 kB / 445.8 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.1659, allocations: 279.8 kB / 446.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.1661, allocations: 61.19 kB / 446.1 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.1661, allocations: 26.12 kB / 446.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1662, allocations: 6.188 kB / 446.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.046e-05/0.1662, allocations: 36.22 kB / 446.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1662, allocations: 0 / 446.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007893/0.167, allocations: 394 kB / 446.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.167, allocations: 54.09 kB / 446.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1671, allocations: 219.5 kB / 446.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.1671, allocations: 33.58 kB / 446.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.1671, allocations: 110 kB / 447 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.1672, allocations: 36.75 kB / 447 MB, free: 41.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.1672, allocations: 25.5 kB / 447.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.807e-05/0.1672, allocations: 332.7 kB / 447.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.1673, allocations: 42.89 kB / 447.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.1673, allocations: 42.69 kB / 447.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1675, allocations: 102.3 kB / 447.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1675, allocations: 2.688 kB / 447.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001624/0.1676, allocations: 148.7 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1676, allocations: 5.312 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1676, allocations: 0 / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1677, allocations: 0 / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.1677, allocations: 30.14 kB / 447.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1677, allocations: 2.562 kB / 447.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.1678, allocations: 12.7 kB / 447.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1678, allocations: 10.53 kB / 447.8 MB, free: 41.38 MB / 410.7 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 (11): * Single equations (assignments): 11 * 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 5.109e-05/0.1678, allocations: 138.2 kB / 447.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.1678, allocations: 9.328 kB / 447.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.168, allocations: 174 kB / 448.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.168, allocations: 0 / 448.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.168, allocations: 0 / 448.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1681, allocations: 6.016 kB / 448.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.1684, allocations: 441.9 kB / 448.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1684, allocations: 2.906 kB / 448.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.1684, allocations: 27 kB / 448.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1684, allocations: 0 / 448.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1685, allocations: 6.844 kB / 448.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1685, allocations: 3.25 kB / 448.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1685, allocations: 6.938 kB / 448.6 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.1686, allocations: 252 kB / 448.8 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.1686, allocations: 21.12 kB / 448.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1686, allocations: 3.938 kB / 448.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.02e-05/0.1687, allocations: 16 kB / 448.9 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.1687, allocations: 5.891 kB / 448.9 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1687, allocations: 5.531 kB / 448.9 MB, free: 40.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.599e-05/0.1688, allocations: 168.3 kB / 449 MB, free: 40.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1688, allocations: 0 / 449 MB, free: 40.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.169, allocations: 24.67 kB / 449.1 MB, free: 40.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009235/0.1699, allocations: 1.16 MB / 450.2 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.1701, allocations: 109.8 kB / 450.3 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1701, allocations: 0 / 450.3 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.565e-05/0.1701, allocations: 56.64 kB / 450.4 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.1704, allocations: 19.81 kB / 450.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1716, allocations: 1.888 MB / 452.3 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.599e-05/0.1716, allocations: 103.6 kB / 452.4 MB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.289e-05/0.1717, allocations: 23.09 kB / 452.4 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.1717, allocations: 40.88 kB / 452.5 MB, free: 38.21 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1717, allocations: 2.875 kB / 452.5 MB, free: 38.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.1864, allocations: 4.2 MB / 456.7 MB, free: 36.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.781/6.967, allocations: 13.94 kB / 456.7 MB, free: 36.81 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.913922924548388]