Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.0008729/0.0008729, 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.001231/0.001231, 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.9413/0.9413, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2563/0.2563, allocations: 34.24 MB / 294.9 MB, free: 0.6992 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.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.368e-05, allocations: 4.25 kB / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.2026/0.2026, allocations: 1.651 MB / 443.9 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009768/0.2036, allocations: 0.9701 MB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.2037, allocations: 2.906 kB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.2039, allocations: 57.94 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.2042, allocations: 119 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.2043, allocations: 74.55 kB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.2044, allocations: 111.5 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.2045, allocations: 2.984 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.606e-05/0.2045, allocations: 61.45 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/0.2046, allocations: 42.59 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.2046, allocations: 2.969 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.857e-05/0.2047, allocations: 30.3 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.2047, allocations: 29.17 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.2048, allocations: 18.16 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.2049, allocations: 101.2 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2049, allocations: 0 / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2049, allocations: 0.5625 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2049, allocations: 2.625 kB / 445.5 MB, free: 43 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.0003426/0.2053, allocations: 336.5 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2053, allocations: 9.812 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.095e-05/0.2053, allocations: 30.75 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.2054, allocations: 14.81 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.2055, allocations: 157 kB / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2056, allocations: 384 / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.2056, allocations: 5.031 kB / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.2057, allocations: 53.27 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.2057, allocations: 0 / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.2057, allocations: 2.906 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2057, allocations: 0 / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.44e-05/0.2057, allocations: 22.86 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.2059, allocations: 153.2 kB / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.2059, allocations: 50.75 kB / 446.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.206, allocations: 21.69 kB / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.206, allocations: 0 / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.747e-05/0.2061, allocations: 75.56 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.2061, allocations: 0 / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001779/0.2063, allocations: 105.1 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.2063, allocations: 54.09 kB / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.2064, allocations: 197.5 kB / 446.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.2064, allocations: 25.7 kB / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.2064, allocations: 104.3 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.2064, allocations: 18.95 kB / 446.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.2065, allocations: 16.78 kB / 446.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.979e-05/0.2065, allocations: 325.8 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/0.2065, allocations: 15.17 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.822e-05/0.2066, allocations: 27.61 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.166e-05/0.2066, allocations: 53.73 kB / 447.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2066, allocations: 0 / 447.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.05e-05/0.2067, allocations: 87.81 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2067, allocations: 5.625 kB / 447.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2067, allocations: 0 / 447.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2067, allocations: 0 / 447.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.2068, allocations: 12.05 kB / 447.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2068, allocations: 2.719 kB / 447.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.891e-05/0.2068, allocations: 10.42 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.2068, allocations: 6.5 kB / 447.5 MB, free: 41.48 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.963e-05/0.2069, allocations: 125.6 kB / 447.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.2069, allocations: 16.47 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.207, allocations: 102.3 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.207, allocations: 0 / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.207, allocations: 0 / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.207, allocations: 2.75 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.054e-05/0.2071, allocations: 152.5 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2071, allocations: 3.188 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-05/0.2071, allocations: 12.81 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2071, allocations: 5.531 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.2071, allocations: 3.031 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.2071, allocations: 0 / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2071, allocations: 0 / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.02e-05/0.2072, allocations: 117.9 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.2072, allocations: 16.53 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2072, allocations: 3.938 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.768e-05/0.2072, allocations: 2.562 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.2072, allocations: 6.172 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2072, allocations: 0 / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.916e-05/0.2073, allocations: 158.8 kB / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2073, allocations: 0 / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001444/0.2074, allocations: 18.52 kB / 448.2 MB, free: 41 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.0007679/0.2082, allocations: 0.9973 MB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.2083, allocations: 46.66 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.2083, allocations: 0 / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.167e-05/0.2083, allocations: 17.38 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.2085, allocations: 33.27 kB / 449.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/0.2093, allocations: 1.517 MB / 450.8 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.362e-05/0.2094, allocations: 89.23 kB / 450.9 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.222e-05/0.2094, allocations: 15.12 kB / 450.9 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.2095, allocations: 37.48 kB / 451 MB, free: 38.96 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2095, allocations: 7.938 kB / 451 MB, free: 38.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.2271, allocations: 3.965 MB / 454.9 MB, free: 37.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/7.071, allocations: 3.094 kB / 454.9 MB, free: 37.6 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.238814916461706]