Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.0008528/0.0008528, 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.0008238/0.0008238, 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.8951/0.8951, allocations: 177 MB / 204.1 MB, free: 5.738 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.2283/0.2283, 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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.362e-05, allocations: 4.391 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.1595/0.1595, allocations: 1.605 MB / 443.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007068/0.1602, allocations: 0.5511 MB / 444.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.1603, allocations: 3.219 kB / 444.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.1607, allocations: 451.3 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.161, allocations: 295.1 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.1612, allocations: 170.7 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1614, allocations: 171.9 kB / 445.4 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.1615, allocations: 11.69 kB / 445.4 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.782e-05/0.1616, allocations: 120 kB / 445.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1617, allocations: 241.8 kB / 445.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1617, allocations: 0 / 445.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.197e-05/0.1618, allocations: 25.53 kB / 445.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.1619, allocations: 88.48 kB / 445.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.1619, allocations: 40.22 kB / 445.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1621, allocations: 232.9 kB / 446.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1621, allocations: 3.312 kB / 446.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1621, allocations: 0 / 446.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1621, allocations: 3.938 kB / 446.1 MB, free: 42.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004186/0.1625, allocations: 0.5731 MB / 446.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1625, allocations: 11.59 kB / 446.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.143e-05/0.1626, allocations: 30.75 kB / 446.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.1626, allocations: 46.55 kB / 446.8 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1628, allocations: 249.1 kB / 447 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.1628, allocations: 7.25 kB / 447 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.1628, allocations: 384 / 447 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1629, allocations: 48.28 kB / 447.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1629, allocations: 192 / 447.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1629, allocations: 384 / 447.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1629, allocations: 9.828 kB / 447.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.734e-05/0.1629, allocations: 33.19 kB / 447.1 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.1632, allocations: 348.3 kB / 447.5 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.678e-05/0.1633, allocations: 30.44 kB / 447.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.1633, allocations: 24.61 kB / 447.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1633, allocations: 0.75 kB / 447.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/0.1633, allocations: 37.19 kB / 447.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.1633, allocations: 2.906 kB / 447.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001707/0.1635, allocations: 104.8 kB / 447.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.1635, allocations: 54.06 kB / 447.7 MB, free: 41.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.164, allocations: 0.8708 MB / 448.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.164, allocations: 32.3 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.164, allocations: 226.8 kB / 448.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.1641, allocations: 11.58 kB / 448.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.1641, allocations: 12.62 kB / 448.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.278e-05/0.1641, allocations: 363.7 kB / 449.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.923e-05/0.1642, allocations: 13.11 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.716e-05/0.1642, allocations: 9.625 kB / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.1642, allocations: 30.45 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1642, allocations: 0 / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.617e-05/0.1643, allocations: 102.3 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1643, allocations: 5.531 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1643, allocations: 3.281 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1643, allocations: 1.172 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.1644, allocations: 2.781 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1644, allocations: 7.875 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.1644, allocations: 2.812 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1644, allocations: 0 / 449.4 MB, free: 41.04 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 (2): * Single equations (assignments): 2 * 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.147e-05/0.1645, allocations: 216.5 kB / 449.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.1645, allocations: 51.47 kB / 449.7 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.1647, allocations: 107.8 kB / 449.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1647, allocations: 0 / 449.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1647, allocations: 0 / 449.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1647, allocations: 0 / 449.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.1648, allocations: 259.9 kB / 450 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1648, allocations: 3.938 kB / 450 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.1648, allocations: 8.609 kB / 450 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1648, allocations: 3.938 kB / 450 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.1648, allocations: 4.031 kB / 450 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1648, allocations: 2.688 kB / 450 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1648, allocations: 0 / 450 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.076e-05/0.1649, allocations: 196.5 kB / 450.2 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.1649, allocations: 39.7 kB / 450.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.165, allocations: 2.906 kB / 450.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/0.165, allocations: 0 / 450.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.165, allocations: 2.906 kB / 450.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.165, allocations: 0 / 450.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003036/0.1653, allocations: 0.664 MB / 450.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1653, allocations: 7.156 kB / 451 MB, free: 40.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.1655, allocations: 14.78 kB / 451 MB, free: 40.17 MB / 410.7 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 (2): * Single equations (assignments): 2 * 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.000692/0.1662, allocations: 0.9933 MB / 452 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.967e-05/0.1663, allocations: 27.66 kB / 452 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1663, allocations: 0 / 452 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.1663, allocations: 11.86 kB / 452 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.1666, allocations: 23.39 kB / 452 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.1683, allocations: 3.193 MB / 455.2 MB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.1684, allocations: 217.5 kB / 455.4 MB, free: 37.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.075e-05/0.1684, allocations: 12.78 kB / 455.4 MB, free: 37.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.1685, allocations: 116.1 kB / 455.6 MB, free: 37.47 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1685, allocations: 0 / 455.6 MB, free: 37.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.1858, allocations: 6.466 MB / 462 MB, free: 35.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/6.948, allocations: 6.312 kB / 462 MB, free: 35.82 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.861505876295269]