Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008852/0.0008852, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009271/0.0009271, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8641/0.8641, allocations: 177.1 MB / 204.2 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2253/0.2253, allocations: 34.24 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.116e-05, allocations: 6.281 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.1691/0.1692, allocations: 1.704 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1702, allocations: 0.9787 MB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.1703, allocations: 0 / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.1705, allocations: 48.59 kB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.1707, allocations: 97.84 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.1709, allocations: 85.59 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.171, allocations: 104.6 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.643e-05/0.1711, allocations: 11.89 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.1711, allocations: 63.97 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.1712, allocations: 22.7 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1712, allocations: 2.969 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.92e-05/0.1713, allocations: 49.69 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.1713, allocations: 23.2 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.1714, allocations: 19.31 kB / 445.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1715, allocations: 132.4 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1715, allocations: 0 / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1715, allocations: 0 / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1715, allocations: 3.031 kB / 445.6 MB, free: 42.95 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003472/0.1719, allocations: 353.7 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1719, allocations: 13.91 kB / 446 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.099e-05/0.1719, allocations: 34.69 kB / 446 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.172, allocations: 14.44 kB / 446 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.1721, allocations: 157.5 kB / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1722, allocations: 6.875 kB / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1722, allocations: 384 / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.907e-05/0.1723, allocations: 63.2 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.1723, allocations: 0 / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.1723, allocations: 3.312 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1723, allocations: 0.9375 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.911e-05/0.1723, allocations: 19.42 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.1726, allocations: 276.1 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.1727, allocations: 54.73 kB / 446.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.1727, allocations: 20.06 kB / 446.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.1727, allocations: 2.938 kB / 446.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.787e-05/0.1728, allocations: 68.41 kB / 446.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.1728, allocations: 3.938 kB / 446.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003544/0.1732, allocations: 179.1 kB / 446.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.1732, allocations: 54.25 kB / 446.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1733, allocations: 238.5 kB / 447.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.1733, allocations: 33.58 kB / 447.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.1734, allocations: 111.6 kB / 447.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.1734, allocations: 28.86 kB / 447.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.1734, allocations: 22.58 kB / 447.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.998e-05/0.1734, allocations: 331.7 kB / 447.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.1735, allocations: 22.14 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.1735, allocations: 33.56 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.131e-05/0.1736, allocations: 63.33 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1736, allocations: 4 kB / 447.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.959e-05/0.1737, allocations: 107.5 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1737, allocations: 8.562 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1737, allocations: 0 / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1737, allocations: 2.656 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.1737, allocations: 19.22 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1737, allocations: 4.875 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.1738, allocations: 6.906 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1738, allocations: 6.688 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.259e-05/0.1738, allocations: 133 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.1738, allocations: 10.39 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.174, allocations: 128.6 kB / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.174, allocations: 2.938 kB / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.174, allocations: 0 / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.174, allocations: 2.953 kB / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.1742, allocations: 376.1 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1742, allocations: 2.594 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.1742, allocations: 7.875 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1742, allocations: 6.688 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1742, allocations: 10.66 kB / 448.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1742, allocations: 3.406 kB / 448.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1742, allocations: 3.938 kB / 448.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.1743, allocations: 216.6 kB / 448.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.1744, allocations: 10.81 kB / 448.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.1744, allocations: 2.969 kB / 448.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.039e-05/0.1744, allocations: 6.875 kB / 448.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.1745, allocations: 10.39 kB / 448.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1745, allocations: 6.188 kB / 448.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.494e-05/0.1745, allocations: 182.9 kB / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1745, allocations: 0 / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001651/0.1747, allocations: 31.53 kB / 449 MB, free: 40.51 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009064/0.1756, allocations: 1.144 MB / 450.2 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.1757, allocations: 58.45 kB / 450.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.1757, allocations: 0 / 450.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.1758, allocations: 31.56 kB / 450.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.176, allocations: 34.61 kB / 450.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009659/0.1769, allocations: 1.765 MB / 452.1 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.966e-05/0.177, allocations: 95.69 kB / 452.2 MB, free: 38.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.765e-05/0.177, allocations: 16.91 kB / 452.2 MB, free: 38.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.1771, allocations: 44.89 kB / 452.2 MB, free: 38.19 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1771, allocations: 0 / 452.2 MB, free: 38.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.192, allocations: 4.449 MB / 456.7 MB, free: 36.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/6.957, allocations: 2.812 kB / 456.7 MB, free: 36.77 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.830415348522365]