Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001333/0.001333, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.001668/0.001668, allocations: 212.2 kB / 20.75 MB, free: 2.332 MB / 14.72 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 1.498/1.498, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2261/0.2261, allocations: 44.91 MB / 355.1 MB, free: 12.34 MB / 286.1 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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 76.16 kB / 499.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1857, allocations: 65.42 MB / 0.5518 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.005084/0.1908, allocations: 1.688 MB / 0.5535 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.194, allocations: 1.029 MB / 0.5545 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1942, allocations: 0 / 0.5545 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.1946, allocations: 55.75 kB / 0.5545 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005221/0.1951, allocations: 103.5 kB / 0.5546 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1954, allocations: 67.73 kB / 0.5547 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.1957, allocations: 103.6 kB / 0.5548 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.563e-05/0.1958, allocations: 4.234 kB / 0.5548 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.196, allocations: 47.77 kB / 0.5548 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1961, allocations: 31.8 kB / 0.5549 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1961, allocations: 0 / 0.5549 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1962, allocations: 39.98 kB / 0.5549 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.628e-05/0.1963, allocations: 27.84 kB / 0.5549 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.775e-05/0.1964, allocations: 39.69 kB / 0.555 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.1967, allocations: 119.7 kB / 0.5551 GB, free: 6.723 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1968, allocations: 4 kB / 0.5551 GB, free: 6.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1968, allocations: 0 / 0.5551 GB, free: 6.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1968, allocations: 0 / 0.5551 GB, free: 6.719 MB / 414.1 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.000848/0.1976, allocations: 446.5 kB / 0.5555 GB, free: 6.234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1977, allocations: 11.97 kB / 0.5555 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.876e-05/0.1977, allocations: 30.75 kB / 0.5556 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.1978, allocations: 16.89 kB / 0.5556 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.1982, allocations: 225 kB / 0.5558 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.1982, allocations: 4.375 kB / 0.5558 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1983, allocations: 3.938 kB / 0.5558 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.1985, allocations: 49.67 kB / 0.5558 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1985, allocations: 0 / 0.5558 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1985, allocations: 0 / 0.5558 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1985, allocations: 4 kB / 0.5558 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1986, allocations: 15.98 kB / 0.5559 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.1989, allocations: 197.7 kB / 0.556 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.1992, allocations: 50.5 kB / 0.5561 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.793e-05/0.1993, allocations: 20.84 kB / 0.5561 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.1994, allocations: 3.938 kB / 0.5561 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.1996, allocations: 71.39 kB / 0.5562 GB, free: 5.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.923e-06/0.1996, allocations: 0 / 0.5562 GB, free: 5.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004645/0.2001, allocations: 105.5 kB / 0.5563 GB, free: 5.305 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.2001, allocations: 51.41 kB / 0.5563 GB, free: 5.242 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/0.2006, allocations: 275.7 kB / 0.5566 GB, free: 4.961 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.2006, allocations: 25.7 kB / 0.5566 GB, free: 4.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2007, allocations: 112.1 kB / 0.5567 GB, free: 4.816 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.2008, allocations: 19.89 kB / 0.5567 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.2009, allocations: 21.72 kB / 0.5568 GB, free: 4.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.2011, allocations: 326.8 kB / 0.5571 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.2012, allocations: 15.98 kB / 0.5571 GB, free: 4.426 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.93e-05/0.2013, allocations: 25.7 kB / 0.5571 GB, free: 4.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.2015, allocations: 41.72 kB / 0.5572 GB, free: 4.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2015, allocations: 11.88 kB / 0.5572 GB, free: 4.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002955/0.2018, allocations: 85.58 kB / 0.5573 GB, free: 4.246 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.2018, allocations: 6.031 kB / 0.5573 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2018, allocations: 0 / 0.5573 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.2018, allocations: 4 kB / 0.5573 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.2019, allocations: 11.94 kB / 0.5573 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.2019, allocations: 3.938 kB / 0.5573 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.202, allocations: 11.94 kB / 0.5573 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.202, allocations: 0 / 0.5573 GB, free: 4.211 MB / 414.1 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 0.0001871/0.2022, allocations: 144 kB / 0.5574 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.2023, allocations: 15.91 kB / 0.5574 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.2023, allocations: 13 kB / 0.5575 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.2023, allocations: 4.312 kB / 0.5575 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2023, allocations: 0 / 0.5575 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.2023, allocations: 3.984 kB / 0.5575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.2026, allocations: 205.5 kB / 0.5577 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2026, allocations: 0 / 0.5577 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.2027, allocations: 4 kB / 0.5577 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2027, allocations: 0 / 0.5577 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.2027, allocations: 8 kB / 0.5577 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2027, allocations: 0 / 0.5577 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2027, allocations: 0 / 0.5577 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.203, allocations: 116.9 kB / 0.5578 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.2031, allocations: 92.95 kB / 0.5579 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.2031, allocations: 4 kB / 0.5579 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.2032, allocations: 3.984 kB / 0.5579 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.2032, allocations: 4 kB / 0.5579 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.2032, allocations: 8 kB / 0.5579 GB, free: 3.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003046/0.2035, allocations: 208.5 kB / 0.5581 GB, free: 3.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2035, allocations: 0 / 0.5581 GB, free: 3.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003889/0.2039, allocations: 12 kB / 0.5581 GB, free: 3.289 MB / 414.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002943/0.2069, allocations: 0.9576 MB / 0.559 GB, free: 2.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.2071, allocations: 39.98 kB / 0.5591 GB, free: 2.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2071, allocations: 0 / 0.5591 GB, free: 2.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.2073, allocations: 23.92 kB / 0.5591 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.2077, allocations: 31.3 kB / 0.5591 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.2109, allocations: 1.678 MB / 0.5608 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/0.2115, allocations: 0.7197 MB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.446e-05/0.2116, allocations: 16.53 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2117, allocations: 35.42 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2117, allocations: 0 / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/0.2469, allocations: 3.529 MB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.151, allocations: 8 kB / 0.565 GB, free: 12.34 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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: 11.383371877018362]