Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.0009694/0.0009694, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001068/0.001068, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9162/0.9162, allocations: 177.1 MB / 204.3 MB, free: 5.703 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.2619/0.2619, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.501e-05, allocations: 2.281 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.1915/0.1915, allocations: 1.713 MB / 444 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1926, allocations: 0.99 MB / 445 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.1927, allocations: 6.812 kB / 445 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.1929, allocations: 41.16 kB / 445 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1932, allocations: 98.38 kB / 445.1 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.1933, allocations: 78.62 kB / 445.2 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1934, allocations: 111.9 kB / 445.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.755e-05/0.1935, allocations: 6.25 kB / 445.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.242e-05/0.1936, allocations: 60.75 kB / 445.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.1937, allocations: 33.52 kB / 445.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1937, allocations: 12.64 kB / 445.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1938, allocations: 107 kB / 445.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.1939, allocations: 25.47 kB / 445.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.1939, allocations: 21.12 kB / 445.6 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1942, allocations: 177.8 kB / 445.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1942, allocations: 5.594 kB / 445.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1942, allocations: 0 / 445.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.1942, allocations: 0 / 445.7 MB, free: 42.4 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004779/0.1946, allocations: 357.5 kB / 446.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1947, allocations: 12.44 kB / 446.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.618e-05/0.1947, allocations: 38.08 kB / 446.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.1948, allocations: 11.75 kB / 446.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.195, allocations: 154.8 kB / 446.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.195, allocations: 3.406 kB / 446.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.195, allocations: 3.062 kB / 446.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.1951, allocations: 101.8 kB / 446.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1951, allocations: 2.031 kB / 446.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1951, allocations: 0 / 446.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1951, allocations: 0 / 446.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.651e-05/0.1952, allocations: 31.02 kB / 446.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.1954, allocations: 240.9 kB / 446.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.1956, allocations: 71.2 kB / 446.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.1956, allocations: 26.16 kB / 446.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.1956, allocations: 2.562 kB / 446.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.1958, allocations: 77.48 kB / 446.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1958, allocations: 0 / 446.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004983/0.1963, allocations: 214.5 kB / 447.1 MB, free: 41.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1963, allocations: 83.64 kB / 447.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1964, allocations: 170 kB / 447.3 MB, free: 41.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.1964, allocations: 32.17 kB / 447.3 MB, free: 41.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.1965, allocations: 97.97 kB / 447.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.1965, allocations: 29.38 kB / 447.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.1965, allocations: 31.38 kB / 447.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.1966, allocations: 324.2 kB / 447.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.1966, allocations: 34.67 kB / 447.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.1966, allocations: 83.36 kB / 447.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.577e-05/0.1967, allocations: 75.27 kB / 448 MB, free: 40.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1967, allocations: 0 / 448 MB, free: 40.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001293/0.1969, allocations: 132.3 kB / 448.1 MB, free: 40.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1969, allocations: 2.938 kB / 448.1 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1969, allocations: 2.844 kB / 448.1 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1969, allocations: 0 / 448.1 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/0.197, allocations: 22.8 kB / 448.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.197, allocations: 0 / 448.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.197, allocations: 6.875 kB / 448.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.197, allocations: 6.391 kB / 448.2 MB, free: 40.65 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 (13): * Single equations (assignments): 13 * 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 7.465e-05/0.1971, allocations: 130.4 kB / 448.3 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.1971, allocations: 17.62 kB / 448.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.1973, allocations: 133.3 kB / 448.4 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1973, allocations: 0 / 448.4 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1973, allocations: 0 / 448.4 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1973, allocations: 1.781 kB / 448.4 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.1977, allocations: 409.6 kB / 448.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1977, allocations: 0 / 448.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.1977, allocations: 11.31 kB / 448.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1977, allocations: 6.688 kB / 448.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1977, allocations: 11.42 kB / 448.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1977, allocations: 0 / 448.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1977, allocations: 1.969 kB / 448.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.1979, allocations: 224.7 kB / 449.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.1979, allocations: 14.08 kB / 449.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1979, allocations: 6.812 kB / 449.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.121e-05/0.1979, allocations: 6.438 kB / 449.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.198, allocations: 6.172 kB / 449.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.198, allocations: 2.812 kB / 449.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.933e-05/0.198, allocations: 139.8 kB / 449.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.198, allocations: 0 / 449.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001908/0.1982, allocations: 60.45 kB / 449.3 MB, free: 39.94 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: 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 (11): * Single equations (assignments): 9 * 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.00101/0.1992, allocations: 1.263 MB / 450.6 MB, free: 39.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.1994, allocations: 73.5 kB / 450.7 MB, free: 39.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.1994, allocations: 0 / 450.7 MB, free: 39.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.1994, allocations: 42.48 kB / 450.7 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.1997, allocations: 30.73 kB / 450.7 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2007, allocations: 1.692 MB / 452.4 MB, free: 37.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.857e-05/0.2008, allocations: 90.16 kB / 452.5 MB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.285e-05/0.2009, allocations: 31.45 kB / 452.5 MB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.2009, allocations: 42.58 kB / 452.6 MB, free: 37.78 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2009, allocations: 0 / 452.6 MB, free: 37.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.2173, allocations: 5.105 MB / 457.7 MB, free: 36.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/7.159, allocations: 4 kB / 457.7 MB, free: 36.21 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.328211480751634]