Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.0008427/0.0008427, 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.001031/0.001031, allocations: 170.3 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.8865/0.8865, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2367/0.2367, allocations: 34.25 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.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.363e-05, allocations: 8.328 kB / 442.3 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.1681/0.1681, allocations: 1.783 MB / 444 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1691, allocations: 1.054 MB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.1692, allocations: 2.688 kB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.1696, allocations: 301.9 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.1699, allocations: 257.7 kB / 445.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.17, allocations: 98.8 kB / 445.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1702, allocations: 274.6 kB / 446 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.1702, allocations: 11.67 kB / 446 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1703, allocations: 150.2 kB / 446.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1705, allocations: 202.6 kB / 446.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1705, allocations: 8.812 kB / 446.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.273e-05/0.1706, allocations: 47.5 kB / 446.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.719e-05/0.1706, allocations: 140.7 kB / 446.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.1707, allocations: 73.16 kB / 446.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1709, allocations: 350.9 kB / 447 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1709, allocations: 3.938 kB / 447 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1709, allocations: 0 / 447 MB, free: 42.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1709, allocations: 0 / 447 MB, free: 42.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005399/0.1715, allocations: 0.67 MB / 447.6 MB, free: 42.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1715, allocations: 11.88 kB / 447.6 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.314e-05/0.1715, allocations: 34.17 kB / 447.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.1716, allocations: 51.45 kB / 447.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.1719, allocations: 388.3 kB / 448.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1719, allocations: 3.719 kB / 448.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.1719, allocations: 3.312 kB / 448.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1721, allocations: 96.78 kB / 448.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1721, allocations: 0 / 448.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1721, allocations: 0 / 448.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1721, allocations: 2.75 kB / 448.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.119e-05/0.1722, allocations: 41.53 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.1724, allocations: 318.4 kB / 448.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1725, allocations: 106.6 kB / 448.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.1726, allocations: 38.64 kB / 448.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1726, allocations: 6.875 kB / 448.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.1727, allocations: 111.4 kB / 448.8 MB, free: 41.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.1727, allocations: 4 kB / 448.8 MB, free: 41.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002713/0.173, allocations: 212.4 kB / 449 MB, free: 41.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.173, allocations: 83.33 kB / 449.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.1736, allocations: 1.029 MB / 450.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.1736, allocations: 28.7 kB / 450.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.1736, allocations: 239.7 kB / 450.4 MB, free: 40.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.1737, allocations: 32.08 kB / 450.4 MB, free: 40.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.1737, allocations: 26.12 kB / 450.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.61e-05/0.1737, allocations: 367.2 kB / 450.8 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.954e-05/0.1738, allocations: 32.7 kB / 450.9 MB, free: 40.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.1738, allocations: 65.2 kB / 450.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.872e-05/0.1739, allocations: 90.59 kB / 451 MB, free: 40.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1739, allocations: 0 / 451 MB, free: 40.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001506/0.1741, allocations: 180.9 kB / 451.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1741, allocations: 5.75 kB / 451.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1741, allocations: 2.906 kB / 451.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1741, allocations: 7.344 kB / 451.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.1742, allocations: 27.06 kB / 451.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1742, allocations: 0 / 451.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.1742, allocations: 9.75 kB / 451.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1743, allocations: 5.906 kB / 451.2 MB, free: 40.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001111/0.1744, allocations: 226.2 kB / 451.5 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.1744, allocations: 58.38 kB / 451.5 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.1747, allocations: 201.6 kB / 451.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1747, allocations: 0 / 451.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1747, allocations: 4 kB / 451.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1747, allocations: 6.141 kB / 451.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.1748, allocations: 283.7 kB / 452 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1748, allocations: 2.531 kB / 452 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.1748, allocations: 8.562 kB / 452 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1749, allocations: 8.906 kB / 452 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1749, allocations: 10.09 kB / 452 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1749, allocations: 0 / 452 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1749, allocations: 6.875 kB / 452 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.175, allocations: 213.1 kB / 452.2 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.1751, allocations: 71.05 kB / 452.3 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.1751, allocations: 2.938 kB / 452.3 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.1751, allocations: 17.61 kB / 452.3 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.1752, allocations: 6.094 kB / 452.3 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1752, allocations: 5.688 kB / 452.3 MB, free: 39.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004067/0.1756, allocations: 0.7715 MB / 453.1 MB, free: 39.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1756, allocations: 2.062 kB / 453.1 MB, free: 39.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000176/0.1758, allocations: 44.91 kB / 453.2 MB, free: 39.21 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009305/0.1767, allocations: 1.103 MB / 454.3 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1769, allocations: 94.27 kB / 454.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1769, allocations: 0 / 454.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.687e-05/0.1769, allocations: 38.56 kB / 454.4 MB, free: 38.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.1772, allocations: 75.25 kB / 454.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.1804, allocations: 4.541 MB / 459 MB, free: 36.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.1805, allocations: 240.2 kB / 459.2 MB, free: 36.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.503e-05/0.1806, allocations: 58.41 kB / 459.3 MB, free: 36.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.1807, allocations: 152.1 kB / 459.5 MB, free: 36.07 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1807, allocations: 0 / 459.5 MB, free: 36.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.2019, allocations: 9.966 MB / 469.4 MB, free: 34.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/6.992, allocations: 6.375 kB / 469.4 MB, free: 34.1 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.949725789017975]