Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.0008697/0.0008697, 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.0009196/0.0009196, allocations: 156.9 kB / 23.94 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.746 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.224/0.224, allocations: 34.24 MB / 294.8 MB, free: 0.6875 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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.899e-06/1.113e-05, allocations: 4.391 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.1578/0.1578, allocations: 1.623 MB / 443.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007103/0.1585, allocations: 0.547 MB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.1585, allocations: 3.938 kB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1588, allocations: 97.84 kB / 444.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.159, allocations: 109.5 kB / 444.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.1592, allocations: 131.1 kB / 444.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1594, allocations: 103.1 kB / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1595, allocations: 21.36 kB / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/0.1595, allocations: 60.95 kB / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.62e-05/0.1596, allocations: 59.69 kB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1596, allocations: 2.781 kB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.33e-05/0.1597, allocations: 54.88 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.1598, allocations: 23.31 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.1598, allocations: 29.77 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1599, allocations: 129.5 kB / 445.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1599, allocations: 0 / 445.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1599, allocations: 0 / 445.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1599, allocations: 0 / 445.2 MB, free: 43.06 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003421/0.1603, allocations: 362.3 kB / 445.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1603, allocations: 9 kB / 445.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.305e-05/0.1604, allocations: 37 kB / 445.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.1604, allocations: 18.84 kB / 445.6 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1605, allocations: 156.5 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.1605, allocations: 3.219 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.1605, allocations: 9.781 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1606, allocations: 68.47 kB / 445.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1606, allocations: 3.156 kB / 445.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.1607, allocations: 1.078 kB / 445.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1607, allocations: 4.125 kB / 445.8 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.655e-05/0.1607, allocations: 57.84 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.161, allocations: 300.8 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/0.1611, allocations: 68.78 kB / 446.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.1611, allocations: 26.53 kB / 446.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1611, allocations: 1.031 kB / 446.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.1612, allocations: 39.36 kB / 446.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1612, allocations: 1.312 kB / 446.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006518/0.1618, allocations: 328.5 kB / 446.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.1618, allocations: 57.36 kB / 446.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.162, allocations: 234.5 kB / 446.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.162, allocations: 31.61 kB / 446.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.162, allocations: 118.2 kB / 447.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.162, allocations: 45.56 kB / 447.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.1621, allocations: 28.69 kB / 447.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.095e-05/0.1621, allocations: 330 kB / 447.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.1622, allocations: 45.94 kB / 447.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.1622, allocations: 46 kB / 447.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1623, allocations: 111.5 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1623, allocations: 0 / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001476/0.1625, allocations: 158.8 kB / 447.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1625, allocations: 5.156 kB / 447.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1625, allocations: 2.906 kB / 447.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1625, allocations: 0 / 447.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.1626, allocations: 31.95 kB / 447.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1626, allocations: 0 / 447.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.1626, allocations: 10.59 kB / 447.9 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.1626, allocations: 10.84 kB / 447.9 MB, free: 41.4 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 (13): * Single equations (assignments): 13 * 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.274e-05/0.1626, allocations: 136.9 kB / 448 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.1627, allocations: 16.72 kB / 448 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.1629, allocations: 191.3 kB / 448.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1629, allocations: 2.781 kB / 448.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1629, allocations: 0 / 448.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1629, allocations: 0 / 448.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.1632, allocations: 469.3 kB / 448.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1632, allocations: 4.031 kB / 448.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.1632, allocations: 25.62 kB / 448.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1632, allocations: 3.938 kB / 448.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1633, allocations: 2.875 kB / 448.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1633, allocations: 0 / 448.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1633, allocations: 0 / 448.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.1634, allocations: 257.3 kB / 449 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.1634, allocations: 14.62 kB / 449 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.1634, allocations: 2.781 kB / 449 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.811e-05/0.1635, allocations: 13.97 kB / 449 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.1635, allocations: 11.95 kB / 449 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1635, allocations: 2.875 kB / 449 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.066e-05/0.1636, allocations: 187.7 kB / 449.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1636, allocations: 0 / 449.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.1637, allocations: 23.59 kB / 449.2 MB, free: 40.52 MB / 410.7 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 (13): * Single equations (assignments): 13 * 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.0008951/0.1646, allocations: 1.171 MB / 450.4 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.1648, allocations: 108 kB / 450.5 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.1648, allocations: 0 / 450.5 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.755e-05/0.1649, allocations: 64.19 kB / 450.5 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.1651, allocations: 19.73 kB / 450.6 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1662, allocations: 1.93 MB / 452.5 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.273e-05/0.1663, allocations: 120.2 kB / 452.6 MB, free: 38.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.579e-05/0.1664, allocations: 25.53 kB / 452.6 MB, free: 38.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.1664, allocations: 44.69 kB / 452.7 MB, free: 38.11 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1664, allocations: 0 / 452.7 MB, free: 38.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.1824, allocations: 4.317 MB / 457 MB, free: 36.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.778/6.96, allocations: 8 kB / 457 MB, free: 36.7 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.871898878365755]