Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001145/0.001145, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0009065/0.0009065, allocations: 170 kB / 23.95 MB, free: 0.6055 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.8775/0.8775, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 32.8 MB / 293.5 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 3.938 kB / 439.7 MB, free: 4.188 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.284e-05, allocations: 2.281 kB / 439.7 MB, free: 4.184 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002026/0.002038, allocations: 1.788 MB / 441.5 MB, free: 2.379 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.003203, allocations: 1.056 MB / 442.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.846e-05/0.003282, allocations: 3.938 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.003695, allocations: 311.1 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.004076, allocations: 259.1 kB / 443.1 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.004274, allocations: 107.6 kB / 443.2 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.004514, allocations: 267.2 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.004559, allocations: 13.8 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.004689, allocations: 151.6 kB / 443.6 MB, free: 232 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.004849, allocations: 203.6 kB / 443.8 MB, free: 28 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.004867, allocations: 4 kB / 443.8 MB, free: 24 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1632/0.168, allocations: 52.78 kB / 443.8 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.1682, allocations: 143.1 kB / 444 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.227e-05/0.1683, allocations: 75.3 kB / 444.1 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.1686, allocations: 356 kB / 444.4 MB, free: 43.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1686, allocations: 0 / 444.4 MB, free: 43.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1686, allocations: 0.7188 kB / 444.4 MB, free: 43.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1686, allocations: 2.844 kB / 444.4 MB, free: 43.76 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.0006026/0.1692, allocations: 0.6832 MB / 445.1 MB, free: 43.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1692, allocations: 9.469 kB / 445.1 MB, free: 43.26 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.1693, allocations: 37.66 kB / 445.1 MB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.1693, allocations: 54.95 kB / 445.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.1697, allocations: 393 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1697, allocations: 3.312 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.1697, allocations: 3.281 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1699, allocations: 91.34 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1699, allocations: 1.781 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1699, allocations: 3.938 kB / 445.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1699, allocations: 2.469 kB / 445.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.595e-05/0.17, allocations: 35.34 kB / 445.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.1702, allocations: 326 kB / 446 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.1704, allocations: 102.4 kB / 446.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.1704, allocations: 48.05 kB / 446.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.1704, allocations: 2.75 kB / 446.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.1706, allocations: 111 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.1706, allocations: 0 / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002936/0.1709, allocations: 214.9 kB / 446.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.1709, allocations: 80.39 kB / 446.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006218/0.1715, allocations: 1.067 MB / 447.7 MB, free: 42.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.1715, allocations: 28.67 kB / 447.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/0.1716, allocations: 236.9 kB / 447.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.1716, allocations: 43.08 kB / 448 MB, free: 42.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.1717, allocations: 28.31 kB / 448 MB, free: 42.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.973e-05/0.1717, allocations: 368.7 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.1718, allocations: 31.03 kB / 448.4 MB, free: 41.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.716e-05/0.1718, allocations: 57 kB / 448.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.1719, allocations: 92.09 kB / 448.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1719, allocations: 3.219 kB / 448.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001565/0.1721, allocations: 173.1 kB / 448.7 MB, free: 41.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1721, allocations: 13.39 kB / 448.7 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1721, allocations: 1.188 kB / 448.7 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1721, allocations: 2.938 kB / 448.7 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.1722, allocations: 23.27 kB / 448.7 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1722, allocations: 4 kB / 448.7 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/0.1723, allocations: 9.609 kB / 448.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1723, allocations: 8.281 kB / 448.7 MB, free: 41.77 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.0001219/0.1724, allocations: 233.3 kB / 449 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.1724, allocations: 53.62 kB / 449 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.1726, allocations: 208 kB / 449.2 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1726, allocations: 2.875 kB / 449.2 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1727, allocations: 0 / 449.2 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1727, allocations: 4 kB / 449.2 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1728, allocations: 300.7 kB / 449.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1728, allocations: 2.562 kB / 449.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.1729, allocations: 7.781 kB / 449.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1729, allocations: 2.75 kB / 449.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1729, allocations: 7.938 kB / 449.6 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1729, allocations: 11.34 kB / 449.6 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1729, allocations: 0 / 449.6 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.1731, allocations: 220.4 kB / 449.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.1731, allocations: 63.42 kB / 449.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.1731, allocations: 11.27 kB / 449.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.145e-05/0.1732, allocations: 9.438 kB / 449.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1732, allocations: 5.75 kB / 449.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.1732, allocations: 8.281 kB / 449.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004287/0.1737, allocations: 0.7908 MB / 450.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1737, allocations: 0 / 450.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001878/0.1738, allocations: 50.98 kB / 450.7 MB, free: 40.94 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.0009371/0.1748, allocations: 1.091 MB / 451.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.1749, allocations: 92.23 kB / 451.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.175, allocations: 0 / 451.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.52e-05/0.175, allocations: 44.25 kB / 451.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1753, allocations: 71.34 kB / 452 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.1785, allocations: 4.627 MB / 456.6 MB, free: 38.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.1786, allocations: 250.7 kB / 456.9 MB, free: 37.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.363e-05/0.1787, allocations: 60.95 kB / 456.9 MB, free: 37.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.1788, allocations: 155 kB / 457.1 MB, free: 37.84 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1788, allocations: 0 / 457.1 MB, free: 37.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.2005, allocations: 10.14 MB / 467.2 MB, free: 35.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.463, allocations: 3.984 kB / 467.2 MB, free: 35.86 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56986 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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: 9.516060222871602]