Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.0008571/0.0008571, 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.0009007/0.0009007, 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.9043/0.9043, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.255/0.255, allocations: 32.78 MB / 293.5 MB, free: 1.234 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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.855e-06/7.855e-06, allocations: 0 / 439.7 MB, free: 4.195 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/4.233e-05, allocations: 4.812 kB / 439.7 MB, free: 4.191 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004102/0.004144, allocations: 1.786 MB / 441.4 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.00666, allocations: 1.75 MB / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.006787, allocations: 0 / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.007149, allocations: 59.56 kB / 443.2 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005002/0.007649, allocations: 143.2 kB / 443.4 MB, free: 440 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.007937, allocations: 103.6 kB / 443.5 MB, free: 336 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.008224, allocations: 207.3 kB / 443.7 MB, free: 128 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.008278, allocations: 21.73 kB / 443.7 MB, free: 108 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.008522, allocations: 103.7 kB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1899/0.1984, allocations: 61.58 kB / 443.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.1985, allocations: 8.812 kB / 443.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.1988, allocations: 110.4 kB / 444 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1989, allocations: 37.86 kB / 444 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.046e-05/0.1989, allocations: 36.97 kB / 444.1 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.1993, allocations: 235.6 kB / 444.3 MB, free: 43.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1993, allocations: 0 / 444.3 MB, free: 43.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1993, allocations: 0 / 444.3 MB, free: 43.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.1993, allocations: 1.625 kB / 444.3 MB, free: 43.49 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.0005619/0.1999, allocations: 438.4 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1999, allocations: 8.781 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.574e-05/0.1999, allocations: 33.53 kB / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.2, allocations: 22.45 kB / 444.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.2002, allocations: 186.1 kB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2002, allocations: 7.094 kB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.2003, allocations: 3.594 kB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.2004, allocations: 154.6 kB / 445.1 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2004, allocations: 6.688 kB / 445.1 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2004, allocations: 3.938 kB / 445.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2004, allocations: 2.906 kB / 445.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.583e-05/0.2005, allocations: 35.27 kB / 445.2 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.2006, allocations: 179.8 kB / 445.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.2008, allocations: 104.5 kB / 445.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.2008, allocations: 43.08 kB / 445.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.2009, allocations: 2.719 kB / 445.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.201, allocations: 116.2 kB / 445.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 8.81e-07/0.201, allocations: 0 / 445.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002948/0.2013, allocations: 182.9 kB / 445.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.2014, allocations: 134.7 kB / 445.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.2015, allocations: 253.9 kB / 446.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.2015, allocations: 25.7 kB / 446.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.2016, allocations: 121.3 kB / 446.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.2016, allocations: 23.77 kB / 446.3 MB, free: 42.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.2017, allocations: 35.39 kB / 446.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.2017, allocations: 330.7 kB / 446.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.2018, allocations: 26.19 kB / 446.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.2018, allocations: 125.6 kB / 446.8 MB, free: 41.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.2019, allocations: 101.4 kB / 446.9 MB, free: 41.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2019, allocations: 0 / 446.9 MB, free: 41.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001571/0.2021, allocations: 141.2 kB / 447.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2021, allocations: 9.469 kB / 447.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2021, allocations: 5.844 kB / 447.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2021, allocations: 0 / 447.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.2022, allocations: 22.78 kB / 447.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2022, allocations: 2.641 kB / 447.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.2023, allocations: 18.25 kB / 447.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.2023, allocations: 2.938 kB / 447.1 MB, free: 41.58 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 7.427e-05/0.2023, allocations: 141.3 kB / 447.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.2024, allocations: 18.91 kB / 447.3 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.2026, allocations: 166.5 kB / 447.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2026, allocations: 2.75 kB / 447.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2026, allocations: 5.75 kB / 447.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2026, allocations: 0 / 447.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.2027, allocations: 184.3 kB / 447.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2027, allocations: 6.328 kB / 447.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.2027, allocations: 8.469 kB / 447.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.2027, allocations: 2.906 kB / 447.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2027, allocations: 11.88 kB / 447.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2027, allocations: 4.656 kB / 447.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2027, allocations: 6.516 kB / 447.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.2029, allocations: 174.5 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.2029, allocations: 24.12 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.203, allocations: 6.75 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.653e-05/0.203, allocations: 12.45 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.203, allocations: 6.016 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.2031, allocations: 5.5 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.2032, allocations: 185.1 kB / 448.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2032, allocations: 4 kB / 448.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.2034, allocations: 52.84 kB / 448.1 MB, free: 41.07 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.001242/0.2046, allocations: 1.173 MB / 449.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.2048, allocations: 86.97 kB / 449.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2048, allocations: 0 / 449.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.158e-05/0.2049, allocations: 44.69 kB / 449.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.2051, allocations: 57.38 kB / 449.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.2064, allocations: 1.912 MB / 451.4 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.546e-05/0.2065, allocations: 106.1 kB / 451.5 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.504e-05/0.2066, allocations: 33.41 kB / 451.6 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/0.2067, allocations: 61.95 kB / 451.6 MB, free: 39.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/0.2067, allocations: 0 / 451.6 MB, free: 39.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.2257, allocations: 6.38 MB / 458 MB, free: 37.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/7.101, allocations: 5.844 kB / 458 MB, free: 37.35 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_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_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.239164291881025]