Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.0008407/0.0008407, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0009891/0.0009891, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8743/0.8743, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2407/0.2407, allocations: 34.25 MB / 294.9 MB, free: 0.7383 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.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 442.2 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.824e-05, allocations: 6.281 kB / 442.3 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.1684/0.1684, allocations: 1.893 MB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1695, allocations: 1.016 MB / 445.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.714e-05/0.1696, allocations: 2.781 kB / 445.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.1698, allocations: 37.8 kB / 445.2 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1701, allocations: 105.5 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.1702, allocations: 98.42 kB / 445.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1704, allocations: 152.3 kB / 445.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1705, allocations: 18.89 kB / 445.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.971e-05/0.1706, allocations: 79.03 kB / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.1706, allocations: 44.53 kB / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1706, allocations: 6.906 kB / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.769e-05/0.1707, allocations: 43.61 kB / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.1708, allocations: 29.8 kB / 445.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.1708, allocations: 30.64 kB / 445.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.171, allocations: 156.9 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.171, allocations: 0 / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.171, allocations: 0 / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.171, allocations: 3.5 kB / 446 MB, free: 42.79 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004251/0.1714, allocations: 412.8 kB / 446.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1715, allocations: 9.812 kB / 446.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.341e-05/0.1715, allocations: 40.03 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.1715, allocations: 17.31 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.1717, allocations: 174.4 kB / 446.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1717, allocations: 3.156 kB / 446.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.1717, allocations: 9.625 kB / 446.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1719, allocations: 137.2 kB / 446.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1719, allocations: 0 / 446.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1719, allocations: 4.797 kB / 446.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1719, allocations: 3.344 kB / 446.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.768e-05/0.172, allocations: 56.48 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.1723, allocations: 479.7 kB / 447.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.1726, allocations: 88.95 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.1726, allocations: 35.77 kB / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.1726, allocations: 0 / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.1728, allocations: 112.6 kB / 447.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.1728, allocations: 0 / 447.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002438/0.173, allocations: 151.8 kB / 447.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.924e-05/0.173, allocations: 54.69 kB / 447.7 MB, free: 41.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1731, allocations: 206.9 kB / 447.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.1731, allocations: 29.7 kB / 447.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.1732, allocations: 131.3 kB / 448.1 MB, free: 41.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.1732, allocations: 30.05 kB / 448.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.1732, allocations: 26.12 kB / 448.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.002e-05/0.1732, allocations: 327.1 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-05/0.1733, allocations: 27.59 kB / 448.5 MB, free: 40.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.714e-05/0.1733, allocations: 65.03 kB / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.299e-05/0.1734, allocations: 106.5 kB / 448.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1734, allocations: 0.9375 kB / 448.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001337/0.1736, allocations: 141.7 kB / 448.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1736, allocations: 5.781 kB / 448.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1736, allocations: 0 / 448.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1736, allocations: 11.86 kB / 448.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.379e-05/0.1736, allocations: 21.89 kB / 448.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1737, allocations: 6.297 kB / 448.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.1737, allocations: 14.64 kB / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1737, allocations: 5.812 kB / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 5.131e-05/0.1737, allocations: 131.1 kB / 449 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.1738, allocations: 13.62 kB / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.1739, allocations: 135.6 kB / 449.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1739, allocations: 0 / 449.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1739, allocations: 4 kB / 449.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1739, allocations: 6.438 kB / 449.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.815e-05/0.174, allocations: 177.8 kB / 449.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.174, allocations: 0 / 449.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.174, allocations: 11.41 kB / 449.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.174, allocations: 2.938 kB / 449.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1741, allocations: 7.328 kB / 449.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1741, allocations: 1.875 kB / 449.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1741, allocations: 0 / 449.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.1742, allocations: 197 kB / 449.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.1743, allocations: 20.94 kB / 449.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1743, allocations: 0 / 449.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.608e-05/0.1743, allocations: 5.594 kB / 449.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.1743, allocations: 17.44 kB / 449.6 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1743, allocations: 6.688 kB / 449.6 MB, free: 40.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.176e-05/0.1744, allocations: 148.2 kB / 449.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1744, allocations: 0 / 449.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001601/0.1746, allocations: 27.66 kB / 449.7 MB, free: 40.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008561/0.1754, allocations: 1.058 MB / 450.8 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.1756, allocations: 78.84 kB / 450.9 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1756, allocations: 2.812 kB / 450.9 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/0.1756, allocations: 40.64 kB / 450.9 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.1758, allocations: 36.86 kB / 450.9 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1768, allocations: 1.78 MB / 452.7 MB, free: 37.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.688e-05/0.1769, allocations: 98.48 kB / 452.8 MB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.683e-05/0.1769, allocations: 26.92 kB / 452.8 MB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.177, allocations: 44.08 kB / 452.9 MB, free: 37.79 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.177, allocations: 384 / 452.9 MB, free: 37.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.1951, allocations: 4.691 MB / 457.6 MB, free: 36.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.163, allocations: 15.59 kB / 457.6 MB, free: 36.34 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.21443285793066]