Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.0008882/0.0008882, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008763/0.0008763, 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.9155/0.9155, allocations: 177.1 MB / 204.2 MB, free: 5.723 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.2374/0.2374, allocations: 32.79 MB / 293.5 MB, free: 1.238 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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 439.7 MB, free: 4.188 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.379e-05, allocations: 4.25 kB / 439.7 MB, free: 4.184 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002459/0.002482, allocations: 1.912 MB / 441.6 MB, free: 2.254 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.003714, allocations: 1.009 MB / 442.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.003834, allocations: 7.938 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.004202, allocations: 35.72 kB / 442.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.004542, allocations: 95.47 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.004752, allocations: 103.6 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.004953, allocations: 155.5 kB / 443 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.005059, allocations: 21.73 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.256e-05/0.005152, allocations: 79.73 kB / 443.1 MB, free: 0.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.279e-05/0.005235, allocations: 35.89 kB / 443.1 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.005254, allocations: 8 kB / 443.1 MB, free: 0.707 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.749e-05/0.005331, allocations: 43.98 kB / 443.2 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.005388, allocations: 27.84 kB / 443.2 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.005436, allocations: 31.86 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.005637, allocations: 159.4 kB / 443.4 MB, free: 460 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005639, allocations: 0 / 443.4 MB, free: 460 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00564, allocations: 4 kB / 443.4 MB, free: 456 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005644, allocations: 0 / 443.4 MB, free: 456 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005068/0.006151, allocations: 415 kB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.1646/0.1707, allocations: 10.02 kB / 443.8 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.366e-05/0.1708, allocations: 36.19 kB / 443.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.334e-05/0.1709, allocations: 14.03 kB / 443.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.1712, allocations: 168.5 kB / 444 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.1712, allocations: 5.375 kB / 444 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.1712, allocations: 12.7 kB / 444 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.1714, allocations: 138.8 kB / 444.2 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1715, allocations: 0 / 444.2 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1715, allocations: 5.25 kB / 444.2 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1715, allocations: 6.625 kB / 444.2 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.395e-05/0.1716, allocations: 52.86 kB / 444.2 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.172, allocations: 479.9 kB / 444.7 MB, free: 45.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.1723, allocations: 85.73 kB / 444.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.1723, allocations: 43.28 kB / 444.8 MB, free: 45.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.1723, allocations: 0 / 444.8 MB, free: 45.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.1725, allocations: 112.2 kB / 444.9 MB, free: 45.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1725, allocations: 0 / 444.9 MB, free: 45.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002564/0.1727, allocations: 152.7 kB / 445.1 MB, free: 45.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.1727, allocations: 51.41 kB / 445.1 MB, free: 45.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1729, allocations: 206.6 kB / 445.3 MB, free: 45.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.1729, allocations: 25.7 kB / 445.3 MB, free: 45.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.1729, allocations: 122.6 kB / 445.5 MB, free: 45.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.1729, allocations: 25.98 kB / 445.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.173, allocations: 30.03 kB / 445.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.271e-05/0.173, allocations: 333.2 kB / 445.8 MB, free: 45.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.173, allocations: 30.88 kB / 445.9 MB, free: 45.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.205e-05/0.1731, allocations: 71.3 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.986e-05/0.1732, allocations: 94.14 kB / 446 MB, free: 45.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1732, allocations: 2.75 kB / 446 MB, free: 45.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001406/0.1733, allocations: 148.3 kB / 446.2 MB, free: 45.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1734, allocations: 8.375 kB / 446.2 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1734, allocations: 0 / 446.2 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1734, allocations: 2.75 kB / 446.2 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.1734, allocations: 29.16 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1734, allocations: 3.281 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.1735, allocations: 11.88 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1735, allocations: 5.562 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.229e-05/0.1735, allocations: 131.8 kB / 446.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.1736, allocations: 16.06 kB / 446.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.1737, allocations: 134.7 kB / 446.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1737, allocations: 2.75 kB / 446.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1738, allocations: 0 / 446.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1738, allocations: 0 / 446.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.859e-05/0.1738, allocations: 183.4 kB / 446.7 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1738, allocations: 0 / 446.7 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.1739, allocations: 18.66 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1739, allocations: 3.969 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.1739, allocations: 5.984 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1739, allocations: 2.25 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1739, allocations: 0 / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.1741, allocations: 194.8 kB / 446.9 MB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.1741, allocations: 16.58 kB / 446.9 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.1742, allocations: 3 kB / 446.9 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.062e-05/0.1742, allocations: 5.281 kB / 446.9 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.1742, allocations: 19.33 kB / 447 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1742, allocations: 2.625 kB / 447 MB, free: 44.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.679e-05/0.1743, allocations: 148.7 kB / 447.1 MB, free: 44.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1743, allocations: 0 / 447.1 MB, free: 44.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.1745, allocations: 27.94 kB / 447.1 MB, free: 44.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001002/0.1755, allocations: 1.064 MB / 448.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1757, allocations: 83.45 kB / 448.3 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1757, allocations: 0 / 448.3 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.1757, allocations: 34 kB / 448.3 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.1759, allocations: 42.22 kB / 448.4 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1771, allocations: 1.77 MB / 450.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.357e-05/0.1771, allocations: 105.6 kB / 450.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.445e-05/0.1772, allocations: 19.27 kB / 450.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.1772, allocations: 44.28 kB / 450.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1772, allocations: 2.906 kB / 450.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.1959, allocations: 4.706 MB / 455 MB, free: 40.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.07/7.265, allocations: 0 / 455 MB, free: 40.75 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.352647755295038]