Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.0008545/0.0008545, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008536/0.0008536, allocations: 156.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.9015/0.9015, allocations: 177 MB / 204.1 MB, free: 5.723 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.2552/0.2552, 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.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 442.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.17e-05, allocations: 5.094 kB / 442.2 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.1972/0.1973, allocations: 1.783 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1985, allocations: 1.055 MB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.526e-05/0.1986, allocations: 3.938 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.199, allocations: 306.5 kB / 445.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.1993, allocations: 258.9 kB / 445.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.1995, allocations: 115.7 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.1997, allocations: 266 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.46e-05/0.1998, allocations: 7.5 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.1999, allocations: 163.2 kB / 446.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.2001, allocations: 207.6 kB / 446.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.2001, allocations: 5.719 kB / 446.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.509e-05/0.2002, allocations: 46.83 kB / 446.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2003, allocations: 143.3 kB / 446.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.2004, allocations: 71.91 kB / 446.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.2007, allocations: 360.2 kB / 447 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2007, allocations: 2.906 kB / 447 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2007, allocations: 0.5 kB / 447 MB, free: 42.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.2007, allocations: 0 / 447 MB, free: 42.62 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.0006677/0.2014, allocations: 0.6802 MB / 447.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2014, allocations: 12.56 kB / 447.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.2014, allocations: 40.69 kB / 447.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.2015, allocations: 51.95 kB / 447.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.2019, allocations: 386.8 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.2019, allocations: 6.469 kB / 448.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.2019, allocations: 6.406 kB / 448.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.2021, allocations: 84.38 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2021, allocations: 192 / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2021, allocations: 4.125 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2021, allocations: 0 / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.611e-05/0.2021, allocations: 47.62 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.2024, allocations: 325.9 kB / 448.6 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.2025, allocations: 101.1 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.2026, allocations: 43.14 kB / 448.8 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2026, allocations: 0 / 448.8 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.2027, allocations: 118.1 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.2027, allocations: 6.156 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003141/0.2031, allocations: 213.1 kB / 449.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.2031, allocations: 83.92 kB / 449.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/0.2037, allocations: 1.059 MB / 450.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.2037, allocations: 29.7 kB / 450.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.2038, allocations: 237.5 kB / 450.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.2038, allocations: 36.05 kB / 450.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.2039, allocations: 33.77 kB / 450.6 MB, free: 40.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.2039, allocations: 369 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.204, allocations: 33.05 kB / 450.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.204, allocations: 61.47 kB / 451 MB, free: 40.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.557e-05/0.2041, allocations: 91.34 kB / 451.1 MB, free: 40.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2041, allocations: 2.875 kB / 451.1 MB, free: 40.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000154/0.2043, allocations: 170.3 kB / 451.3 MB, free: 40.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2043, allocations: 5.375 kB / 451.3 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2043, allocations: 8 kB / 451.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2043, allocations: 2.719 kB / 451.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.2044, allocations: 24.28 kB / 451.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.2044, allocations: 2.719 kB / 451.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.2044, allocations: 13.81 kB / 451.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.2044, allocations: 5.5 kB / 451.3 MB, free: 40 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.0001192/0.2046, allocations: 230.7 kB / 451.5 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.2046, allocations: 57.66 kB / 451.6 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.2048, allocations: 208 kB / 451.8 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.2048, allocations: 4 kB / 451.8 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2048, allocations: 5.828 kB / 451.8 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2048, allocations: 0 / 451.8 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.205, allocations: 291.4 kB / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.205, allocations: 0 / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.205, allocations: 15.64 kB / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.205, allocations: 2.906 kB / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.205, allocations: 6.781 kB / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.205, allocations: 0 / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.205, allocations: 0 / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.2052, allocations: 230.1 kB / 452.4 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.2052, allocations: 61.27 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.2053, allocations: 6.844 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.2053, allocations: 6.406 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.2053, allocations: 14.22 kB / 452.4 MB, free: 39.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.2054, allocations: 6.094 kB / 452.4 MB, free: 39.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004228/0.2058, allocations: 0.7894 MB / 453.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2058, allocations: 2.875 kB / 453.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.2059, allocations: 45.06 kB / 453.3 MB, free: 39.05 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.00096/0.2069, allocations: 1.088 MB / 454.4 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.2071, allocations: 92.03 kB / 454.5 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2071, allocations: 0 / 454.5 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.211e-05/0.2072, allocations: 44.73 kB / 454.5 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.2074, allocations: 63.31 kB / 454.6 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.2108, allocations: 4.63 MB / 459.2 MB, free: 36.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.211, allocations: 245 kB / 459.4 MB, free: 36.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.417e-05/0.211, allocations: 58.45 kB / 459.5 MB, free: 36.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.2111, allocations: 152.6 kB / 459.6 MB, free: 35.91 MB / 410.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2111, allocations: 7.938 kB / 459.6 MB, free: 35.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.233, allocations: 10.14 MB / 469.8 MB, free: 33.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/7.3, allocations: 6.594 kB / 469.8 MB, free: 33.87 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.434607961215079]