Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.0008241/0.0008241, 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.000798/0.000798, 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.9402/0.9402, allocations: 177 MB / 204.1 MB, free: 5.754 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.2566/0.2566, allocations: 34.24 MB / 294.8 MB, free: 0.6719 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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.81e-05, allocations: 10.22 kB / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.1717/0.1717, allocations: 1.605 MB / 443.8 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007088/0.1724, allocations: 0.5367 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.1725, allocations: 0.8438 kB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.1728, allocations: 78 kB / 444.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.1731, allocations: 110.2 kB / 444.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1733, allocations: 115.3 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1735, allocations: 85.81 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1736, allocations: 9.312 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.1736, allocations: 46.41 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1738, allocations: 59.97 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1738, allocations: 3.062 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-05/0.1739, allocations: 52.25 kB / 444.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.1739, allocations: 22.48 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.174, allocations: 13.59 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1741, allocations: 104.7 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1741, allocations: 3.938 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1741, allocations: 0 / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1742, allocations: 0 / 445 MB, free: 43.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004386/0.1746, allocations: 334.6 kB / 445.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.1746, allocations: 14 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.1747, allocations: 34.69 kB / 445.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.1747, allocations: 14.66 kB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1748, allocations: 142.9 kB / 445.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1749, allocations: 3.188 kB / 445.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1749, allocations: 4.188 kB / 445.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.175, allocations: 60.05 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.175, allocations: 10.94 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.175, allocations: 7.188 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.175, allocations: 4.125 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.553e-05/0.1751, allocations: 25.16 kB / 445.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.1753, allocations: 264.2 kB / 445.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.071e-05/0.1754, allocations: 47.09 kB / 446 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.1754, allocations: 21.92 kB / 446 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1755, allocations: 4.766 kB / 446 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.1755, allocations: 30.56 kB / 446 MB, free: 42.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1755, allocations: 0.625 kB / 446 MB, free: 42.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005554/0.176, allocations: 246.5 kB / 446.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.1761, allocations: 55.34 kB / 446.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1762, allocations: 213 kB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.1762, allocations: 31.36 kB / 446.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.1762, allocations: 114 kB / 446.7 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.1762, allocations: 18.05 kB / 446.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.1763, allocations: 25.88 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.427e-05/0.1763, allocations: 327.3 kB / 447 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/0.1763, allocations: 28.42 kB / 447 MB, free: 41.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.1764, allocations: 32.7 kB / 447.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.365e-05/0.1765, allocations: 74.52 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1765, allocations: 4 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001208/0.1766, allocations: 111.2 kB / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1766, allocations: 9.75 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1766, allocations: 0 / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1766, allocations: 2.812 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.1767, allocations: 14.89 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.1767, allocations: 3.031 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.1767, allocations: 14.05 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1767, allocations: 4 kB / 447.3 MB, free: 41.55 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 (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 4.783e-05/0.1768, allocations: 131.8 kB / 447.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.1768, allocations: 17.78 kB / 447.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.1769, allocations: 133.1 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1769, allocations: 0 / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1769, allocations: 0 / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1769, allocations: 6.141 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.1772, allocations: 385.4 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1772, allocations: 2.688 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.1773, allocations: 20.64 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1773, allocations: 0 / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1773, allocations: 2.719 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1773, allocations: 0 / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1773, allocations: 6.625 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1774, allocations: 216 kB / 448.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.1774, allocations: 12.53 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.1774, allocations: 4.031 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.1774, allocations: 5.656 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.1774, allocations: 9.766 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.1775, allocations: 2.812 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.864e-05/0.1775, allocations: 159.7 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1775, allocations: 0 / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001625/0.1777, allocations: 27.53 kB / 448.4 MB, free: 40.86 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 (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.0008758/0.1786, allocations: 1.12 MB / 449.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.1787, allocations: 68.75 kB / 449.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1787, allocations: 2.938 kB / 449.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.1787, allocations: 44.91 kB / 449.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.179, allocations: 17.06 kB / 449.7 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008966/0.1799, allocations: 1.72 MB / 451.4 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.857e-05/0.1799, allocations: 98.84 kB / 451.5 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.985e-05/0.18, allocations: 19.2 kB / 451.5 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.18, allocations: 38.08 kB / 451.6 MB, free: 38.61 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.18, allocations: 0 / 451.6 MB, free: 38.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.1954, allocations: 3.88 MB / 455.4 MB, free: 37.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.681/6.876, allocations: 5.875 kB / 455.4 MB, free: 37.23 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.89855252765119]