Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001169/0.001169, allocations: 79.7 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.001347/0.001347, allocations: 174 kB / 23.94 MB, free: 0.6172 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.9306/0.9306, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2515/0.2515, allocations: 32.78 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.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.888e-05, allocations: 4.672 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001996/0.002014, allocations: 1.669 MB / 441.3 MB, free: 2.477 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.00309, allocations: 0.9586 MB / 442.3 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.003159, allocations: 3.938 kB / 442.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.003444, allocations: 55.73 kB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.003729, allocations: 107.5 kB / 442.5 MB, free: 1.348 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.003878, allocations: 71.61 kB / 442.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.004012, allocations: 99.69 kB / 442.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.004052, allocations: 8.234 kB / 442.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.004132, allocations: 55.77 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.004202, allocations: 23.91 kB / 442.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.004218, allocations: 4 kB / 442.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.87e-05/0.004286, allocations: 31.94 kB / 442.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.00434, allocations: 35.84 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.004375, allocations: 19.92 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.004534, allocations: 115.6 kB / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.004536, allocations: 0 / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004536, allocations: 7.938 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.00454, allocations: 0 / 442.9 MB, free: 0.8828 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.000408/0.004948, allocations: 369.3 kB / 443.3 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.004986, allocations: 12.03 kB / 443.3 MB, free: 492 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.005015, allocations: 30.75 kB / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.005048, allocations: 12.89 kB / 443.3 MB, free: 440 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.005246, allocations: 162.5 kB / 443.5 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.005257, allocations: 384 / 443.5 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.005267, allocations: 4.375 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.005369, allocations: 49.98 kB / 443.5 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.005377, allocations: 3.938 kB / 443.6 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.005386, allocations: 4 kB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.00539, allocations: 0 / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.488e-05/0.005434, allocations: 19.92 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1658/0.1712, allocations: 156.1 kB / 443.7 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1714, allocations: 51.3 kB / 443.8 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.1714, allocations: 25.95 kB / 443.8 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1714, allocations: 0 / 443.8 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.1715, allocations: 67.52 kB / 443.9 MB, free: 46.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1715, allocations: 2.906 kB / 443.9 MB, free: 46.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002058/0.1717, allocations: 109.4 kB / 444 MB, free: 46.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.1718, allocations: 52.03 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1719, allocations: 273.5 kB / 444.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.1719, allocations: 27.08 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.172, allocations: 115.5 kB / 444.4 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.172, allocations: 17.78 kB / 444.5 MB, free: 46.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.172, allocations: 24.73 kB / 444.5 MB, free: 46.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.451e-05/0.1721, allocations: 326.1 kB / 444.8 MB, free: 45.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.886e-05/0.1721, allocations: 17.38 kB / 444.8 MB, free: 45.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.995e-05/0.1721, allocations: 35.92 kB / 444.8 MB, free: 45.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.705e-05/0.1722, allocations: 43.55 kB / 444.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1722, allocations: 0.5625 kB / 444.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.122e-05/0.1723, allocations: 90.81 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1723, allocations: 2.969 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1723, allocations: 3.75 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1723, allocations: 2.719 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.1723, allocations: 15.55 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1723, allocations: 2.688 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.44e-05/0.1724, allocations: 10.06 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1724, allocations: 0 / 445 MB, free: 45.72 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 5.844e-05/0.1724, allocations: 139.4 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.1725, allocations: 13.69 kB / 445.2 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.1726, allocations: 101.6 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1726, allocations: 9.531 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1726, allocations: 0 / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1726, allocations: 3.938 kB / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.501e-05/0.1727, allocations: 171.8 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1727, allocations: 0 / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.1727, allocations: 6.812 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1727, allocations: 0 / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1727, allocations: 2.469 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.1727, allocations: 0 / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1727, allocations: 1.5 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.329e-05/0.1728, allocations: 122.5 kB / 445.6 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.1728, allocations: 13.44 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1728, allocations: 6.812 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.835e-05/0.1728, allocations: 6.234 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.1728, allocations: 10.69 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1729, allocations: 10.16 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.644e-05/0.1729, allocations: 202.3 kB / 445.8 MB, free: 45.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1729, allocations: 0 / 445.8 MB, free: 45.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001496/0.1731, allocations: 24.8 kB / 445.8 MB, free: 45.24 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.0007607/0.1738, allocations: 0.9904 MB / 446.8 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.174, allocations: 37.89 kB / 446.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.174, allocations: 8.062 kB / 446.9 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.133e-05/0.174, allocations: 21.83 kB / 446.9 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.1742, allocations: 27.84 kB / 446.9 MB, free: 44.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009475/0.1751, allocations: 1.691 MB / 448.6 MB, free: 43.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.991e-05/0.1752, allocations: 111.3 kB / 448.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.391e-05/0.1752, allocations: 18.16 kB / 448.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.1752, allocations: 41.34 kB / 448.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1752, allocations: 0 / 448.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.1913, allocations: 4.324 MB / 453.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/7.282, allocations: 7.734 kB / 453.1 MB, free: 41.78 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.387209398671985]