Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.0008649/0.0008649, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0008539/0.0008539, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 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.8774/0.8774, allocations: 177 MB / 204.1 MB, free: 5.762 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.2307/0.2307, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 442.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.417e-05, allocations: 6.219 kB / 442.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.1681/0.1681, allocations: 1.662 MB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1692, allocations: 0.954 MB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.1693, allocations: 2.781 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1696, allocations: 68.41 kB / 444.9 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1698, allocations: 109.9 kB / 445 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.17, allocations: 78.95 kB / 445.1 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1701, allocations: 111.5 kB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.1702, allocations: 6.234 kB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.827e-05/0.1703, allocations: 55.84 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.249e-05/0.1704, allocations: 45.14 kB / 445.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1704, allocations: 3.031 kB / 445.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.663e-05/0.1704, allocations: 32.66 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.1705, allocations: 22.23 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.1705, allocations: 16.23 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.1707, allocations: 105.6 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1707, allocations: 3.281 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1707, allocations: 2.031 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1707, allocations: 0 / 445.5 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.0003775/0.1711, allocations: 336.6 kB / 445.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1711, allocations: 8.406 kB / 445.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.31e-05/0.1711, allocations: 33.62 kB / 445.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.1712, allocations: 13.22 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1714, allocations: 151.7 kB / 446 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1714, allocations: 384 / 446 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.1714, allocations: 7.125 kB / 446 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.1715, allocations: 45.11 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1715, allocations: 3.219 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1715, allocations: 7.359 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1715, allocations: 0 / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.1716, allocations: 15.44 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.1717, allocations: 157.3 kB / 446.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.836e-05/0.1718, allocations: 51.2 kB / 446.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.1718, allocations: 19.2 kB / 446.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1718, allocations: 3.234 kB / 446.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.1719, allocations: 64.27 kB / 446.4 MB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.1719, allocations: 6.438 kB / 446.4 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000189/0.1721, allocations: 109.2 kB / 446.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.1721, allocations: 55.34 kB / 446.6 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1722, allocations: 203.3 kB / 446.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.1722, allocations: 32.83 kB / 446.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.1723, allocations: 99.73 kB / 446.9 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.1723, allocations: 21.91 kB / 446.9 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.1723, allocations: 16.75 kB / 446.9 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.142e-05/0.1723, allocations: 327.2 kB / 447.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.1724, allocations: 12.88 kB / 447.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.1724, allocations: 33.44 kB / 447.3 MB, free: 41.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.283e-05/0.1725, allocations: 46.86 kB / 447.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1725, allocations: 0 / 447.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.987e-05/0.1725, allocations: 81.48 kB / 447.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1726, allocations: 3.125 kB / 447.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1726, allocations: 8.625 kB / 447.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1726, allocations: 3.406 kB / 447.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.491e-05/0.1726, allocations: 15.27 kB / 447.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1726, allocations: 0 / 447.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.1727, allocations: 6.891 kB / 447.5 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.1727, allocations: 9.469 kB / 447.5 MB, free: 41.35 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 4.985e-05/0.1727, allocations: 123.8 kB / 447.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.1727, allocations: 9.922 kB / 447.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.1728, allocations: 96.48 kB / 447.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1728, allocations: 9.938 kB / 447.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1728, allocations: 0 / 447.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1729, allocations: 0 / 447.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.861e-05/0.1729, allocations: 153.8 kB / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1729, allocations: 2.719 kB / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.635e-05/0.1729, allocations: 2.656 kB / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1729, allocations: 0 / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1729, allocations: 10.31 kB / 447.9 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1729, allocations: 3.938 kB / 447.9 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1729, allocations: 0 / 447.9 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.087e-05/0.173, allocations: 122.3 kB / 448 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.1731, allocations: 10.73 kB / 448 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1731, allocations: 7.188 kB / 448 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.789e-05/0.1731, allocations: 2.781 kB / 448 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.1731, allocations: 8.984 kB / 448 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1731, allocations: 2.531 kB / 448 MB, free: 40.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.312e-05/0.1732, allocations: 157.1 kB / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1732, allocations: 0 / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.1733, allocations: 13.84 kB / 448.2 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.0008001/0.1741, allocations: 0.9861 MB / 449.2 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.1742, allocations: 43.89 kB / 449.2 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1742, allocations: 0 / 449.2 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.1743, allocations: 21.86 kB / 449.2 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.0001875/0.1745, allocations: 35.84 kB / 449.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008545/0.1753, allocations: 1.522 MB / 450.8 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.373e-05/0.1754, allocations: 97.02 kB / 450.9 MB, free: 38.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.888e-05/0.1754, allocations: 9.484 kB / 450.9 MB, free: 38.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.1754, allocations: 34.81 kB / 450.9 MB, free: 38.84 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1754, allocations: 0 / 450.9 MB, free: 38.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.192, allocations: 3.973 MB / 454.9 MB, free: 37.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.172/7.364, allocations: 4 kB / 454.9 MB, free: 37.45 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.391237506642938]