Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.00104/0.00104, 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.0008759/0.0008759, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9382/0.9382, allocations: 177.2 MB / 204.3 MB, free: 5.707 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.2564/0.2564, allocations: 34.25 MB / 294.9 MB, free: 0.7188 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.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.087e-05, allocations: 4.25 kB / 442.3 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.198/0.1981, allocations: 1.775 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1997, allocations: 1.747 MB / 445.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.1997, allocations: 6.656 kB / 445.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.2, allocations: 54.89 kB / 445.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.2002, allocations: 141.2 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.2004, allocations: 108 kB / 446.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.2006, allocations: 210.7 kB / 446.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.2006, allocations: 8 kB / 446.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2007, allocations: 106.5 kB / 446.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.2008, allocations: 73.11 kB / 446.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.2008, allocations: 10.78 kB / 446.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.201, allocations: 108.3 kB / 446.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.201, allocations: 35.03 kB / 446.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.2011, allocations: 44.45 kB / 446.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.2013, allocations: 229.4 kB / 446.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2013, allocations: 1.344 kB / 446.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2013, allocations: 2.812 kB / 446.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2013, allocations: 0 / 446.9 MB, free: 42.39 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.0004204/0.2017, allocations: 429.8 kB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2017, allocations: 10.78 kB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.283e-05/0.2018, allocations: 34.12 kB / 447.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.2018, allocations: 20.58 kB / 447.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.2021, allocations: 190.9 kB / 447.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2021, allocations: 384 / 447.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.2021, allocations: 3.406 kB / 447.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.2023, allocations: 161.9 kB / 447.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2023, allocations: 0.9688 kB / 447.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2023, allocations: 2.781 kB / 447.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2023, allocations: 3.875 kB / 447.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.391e-05/0.2023, allocations: 33.95 kB / 447.8 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.2025, allocations: 187.1 kB / 447.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.2026, allocations: 100.6 kB / 448 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.2027, allocations: 44.3 kB / 448.1 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.2027, allocations: 2.531 kB / 448.1 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.2028, allocations: 122.6 kB / 448.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.2028, allocations: 3.938 kB / 448.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002527/0.2031, allocations: 172.9 kB / 448.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.2031, allocations: 135 kB / 448.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.2033, allocations: 243.7 kB / 448.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.2033, allocations: 32.27 kB / 448.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.2033, allocations: 118.8 kB / 448.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.2033, allocations: 33.34 kB / 448.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.2034, allocations: 28.59 kB / 449 MB, free: 40.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.955e-05/0.2034, allocations: 332 kB / 449.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.621e-05/0.2035, allocations: 35.41 kB / 449.3 MB, free: 40.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.2035, allocations: 121.8 kB / 449.4 MB, free: 40.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.559e-05/0.2036, allocations: 98.75 kB / 449.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2036, allocations: 0 / 449.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001578/0.2038, allocations: 145.2 kB / 449.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2038, allocations: 5.719 kB / 449.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2038, allocations: 6.297 kB / 449.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2038, allocations: 0 / 449.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.2039, allocations: 30.52 kB / 449.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2039, allocations: 0 / 449.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.2039, allocations: 13.45 kB / 449.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.204, allocations: 6.844 kB / 449.7 MB, free: 40.09 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 6.789e-05/0.204, allocations: 136.3 kB / 449.9 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.204, allocations: 23.25 kB / 449.9 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.2042, allocations: 161.4 kB / 450.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2042, allocations: 2.75 kB / 450.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2042, allocations: 0 / 450.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2042, allocations: 3.328 kB / 450.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.768e-05/0.2043, allocations: 188.1 kB / 450.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2043, allocations: 0 / 450.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.2044, allocations: 13 kB / 450.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2044, allocations: 4.969 kB / 450.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2044, allocations: 2.875 kB / 450.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2044, allocations: 0 / 450.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2044, allocations: 10.09 kB / 450.3 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.2045, allocations: 181.1 kB / 450.4 MB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.2046, allocations: 24.56 kB / 450.5 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.2046, allocations: 2.812 kB / 450.5 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.925e-05/0.2046, allocations: 10.09 kB / 450.5 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.2047, allocations: 9.156 kB / 450.5 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.2047, allocations: 9.594 kB / 450.5 MB, free: 39.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.2048, allocations: 184.8 kB / 450.7 MB, free: 39.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2048, allocations: 2.062 kB / 450.7 MB, free: 39.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.205, allocations: 54.8 kB / 450.7 MB, free: 39.44 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.001008/0.206, allocations: 1.172 MB / 451.9 MB, free: 38.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.2061, allocations: 87.38 kB / 452 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.2061, allocations: 0 / 452 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.329e-05/0.2062, allocations: 45.59 kB / 452 MB, free: 38.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.2064, allocations: 61.38 kB / 452.1 MB, free: 38.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.2076, allocations: 1.909 MB / 454 MB, free: 37.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.66e-05/0.2077, allocations: 113.6 kB / 454.1 MB, free: 37.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.969e-05/0.2077, allocations: 37.23 kB / 454.2 MB, free: 37.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.768e-05/0.2078, allocations: 61.64 kB / 454.2 MB, free: 37.08 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2078, allocations: 0 / 454.2 MB, free: 37.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.2282, allocations: 6.369 MB / 460.6 MB, free: 35.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/7.113, allocations: 0 / 460.6 MB, free: 35.38 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_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_Test80.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.293158198706806]