Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.001059/0.001059, allocations: 88.27 kB / 20.77 MB, free: 3.754 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.0009153/0.0009153, allocations: 160.9 kB / 24.06 MB, free: 476 kB / 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.9212/0.9212, allocations: 177 MB / 204.2 MB, free: 5.711 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.2459/0.2459, allocations: 34.24 MB / 295 MB, free: 0.707 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.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 442.5 MB, free: 1.398 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.207e-05, allocations: 6.219 kB / 442.5 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.1722/0.1723, allocations: 1.664 MB / 444.1 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1733, allocations: 0.9622 MB / 445.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.1734, allocations: 2.594 kB / 445.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.1736, allocations: 54.38 kB / 445.1 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.1739, allocations: 104.8 kB / 445.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.174, allocations: 69.66 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.1741, allocations: 109.8 kB / 445.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.1742, allocations: 7.078 kB / 445.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/0.1742, allocations: 50.22 kB / 445.5 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.1743, allocations: 40.77 kB / 445.5 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1743, allocations: 4.875 kB / 445.5 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.1744, allocations: 41.95 kB / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.1745, allocations: 20.97 kB / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.1745, allocations: 13.56 kB / 445.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.1747, allocations: 102.5 kB / 445.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1747, allocations: 0.5625 kB / 445.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1747, allocations: 0 / 445.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1747, allocations: 0.6875 kB / 445.7 MB, free: 42.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005283/0.1753, allocations: 339.8 kB / 446 MB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.1753, allocations: 8.406 kB / 446 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.1754, allocations: 33.28 kB / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.1754, allocations: 9.234 kB / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.1757, allocations: 150.5 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1757, allocations: 3.609 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1757, allocations: 2.969 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1759, allocations: 52.09 kB / 446.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1759, allocations: 1.531 kB / 446.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1759, allocations: 4.125 kB / 446.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1759, allocations: 0 / 446.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.291e-05/0.176, allocations: 17.77 kB / 446.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.1761, allocations: 151.1 kB / 446.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1762, allocations: 48.22 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.1763, allocations: 24.27 kB / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1763, allocations: 0 / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.1764, allocations: 72.28 kB / 446.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.1764, allocations: 0 / 446.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001968/0.1766, allocations: 107.7 kB / 446.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.1766, allocations: 53.84 kB / 446.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1767, allocations: 191 kB / 446.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.1767, allocations: 28.33 kB / 447 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.1768, allocations: 97.42 kB / 447.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.1768, allocations: 17.61 kB / 447.1 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.1768, allocations: 18.59 kB / 447.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.393e-05/0.1769, allocations: 323.3 kB / 447.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.1769, allocations: 22.09 kB / 447.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.1769, allocations: 29.12 kB / 447.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.488e-05/0.177, allocations: 50.48 kB / 447.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.177, allocations: 0 / 447.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.579e-05/0.1771, allocations: 89.72 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1771, allocations: 5.281 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1771, allocations: 3.938 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1771, allocations: 0 / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.149e-05/0.1772, allocations: 13.95 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1772, allocations: 0 / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.1772, allocations: 6.594 kB / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1772, allocations: 9.438 kB / 447.6 MB, free: 41.34 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 (7): * Single equations (assignments): 7 * 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 6.232e-05/0.1773, allocations: 127.2 kB / 447.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.1773, allocations: 6.953 kB / 447.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.1774, allocations: 100.6 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1774, allocations: 0 / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1774, allocations: 0 / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1774, allocations: 3.281 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.554e-05/0.1775, allocations: 151.7 kB / 448 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1775, allocations: 0 / 448 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.1775, allocations: 8.672 kB / 448 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1775, allocations: 4 kB / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.1775, allocations: 6.594 kB / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1775, allocations: 3.938 kB / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1775, allocations: 0 / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.307e-05/0.1776, allocations: 110.3 kB / 448.1 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.1776, allocations: 12.59 kB / 448.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1776, allocations: 7.188 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.1777, allocations: 2.875 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.1777, allocations: 6.422 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1777, allocations: 2.656 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.364e-05/0.1778, allocations: 145.3 kB / 448.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1778, allocations: 0 / 448.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000144/0.1779, allocations: 20.5 kB / 448.3 MB, free: 40.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009046/0.1788, allocations: 0.9795 MB / 449.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.1789, allocations: 44.34 kB / 449.4 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1789, allocations: 0 / 449.4 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.179, allocations: 26.34 kB / 449.4 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.1792, allocations: 31.36 kB / 449.4 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000857/0.18, allocations: 1.491 MB / 450.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.1801, allocations: 85.36 kB / 451 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.154e-05/0.1801, allocations: 9.219 kB / 451 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.1802, allocations: 32.44 kB / 451 MB, free: 38.86 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1802, allocations: 0 / 451 MB, free: 38.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.1964, allocations: 3.922 MB / 455 MB, free: 37.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/6.995, allocations: 10.95 kB / 455 MB, free: 37.47 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.12092817388475]