Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 105.5 kB / 16.27 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 195.4 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2621/0.2621, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003102/0.003102, allocations: 70.47 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1782, allocations: 57.8 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.005984/0.1843, allocations: 2.292 MB / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.1871, allocations: 1.174 MB / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005774/0.1878, allocations: 7.938 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008915/0.1887, allocations: 295 kB / 444.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009767/0.1897, allocations: 258.9 kB / 444.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.191, allocations: 330.6 kB / 445 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009519/0.1919, allocations: 0.5063 MB / 445.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.1922, allocations: 61.02 kB / 445.5 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005006/0.1927, allocations: 219.1 kB / 445.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004618/0.1932, allocations: 259 kB / 446 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.1933, allocations: 16 kB / 446 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.1936, allocations: 59.92 kB / 446.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.1938, allocations: 111.6 kB / 446.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.194, allocations: 178.7 kB / 446.4 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.1946, allocations: 390.5 kB / 446.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1946, allocations: 0 / 446.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1946, allocations: 0 / 446.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.1947, allocations: 0 / 446.7 MB, free: 0.6562 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001345/0.196, allocations: 0.7513 MB / 447.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.1961, allocations: 19.89 kB / 447.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.199e-05/0.1962, allocations: 50.67 kB / 447.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.1964, allocations: 52.28 kB / 447.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007982/0.1972, allocations: 400 kB / 448 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.1972, allocations: 8.375 kB / 448 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.1973, allocations: 27.81 kB / 448 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.1978, allocations: 201.8 kB / 448.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.1978, allocations: 0 / 448.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.1979, allocations: 8 kB / 448.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1979, allocations: 4 kB / 448.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.1982, allocations: 99.86 kB / 448.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.1994, allocations: 0.8565 MB / 449.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.2001, allocations: 297.2 kB / 449.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.2004, allocations: 92.25 kB / 449.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.2004, allocations: 7.984 kB / 449.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006261/0.2011, allocations: 232.7 kB / 449.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 3.606e-06/0.2011, allocations: 0 / 449.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002202/0.2033, allocations: 0.9882 MB / 450.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.75e-05/0.2034, allocations: 162.2 kB / 451 MB, free: 12.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006752/0.2041, allocations: 0.6121 MB / 451.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.2041, allocations: 37.7 kB / 451.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.2043, allocations: 221 kB / 451.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.2044, allocations: 130.3 kB / 452 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.2045, allocations: 70.14 kB / 452 MB, free: 11.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2047, allocations: 370.8 kB / 452.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.2049, allocations: 100.8 kB / 452.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.2052, allocations: 184.8 kB / 452.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.2058, allocations: 296.8 kB / 453 MB, free: 10.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2058, allocations: 4 kB / 453 MB, free: 10.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007316/0.2065, allocations: 393 kB / 453.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.2065, allocations: 5.25 kB / 453.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2066, allocations: 4 kB / 453.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.2066, allocations: 4 kB / 453.4 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.2069, allocations: 87.83 kB / 453.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2069, allocations: 8.234 kB / 453.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.2071, allocations: 23.98 kB / 453.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.2072, allocations: 19.98 kB / 453.5 MB, free: 9.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002364/0.2074, allocations: 208.2 kB / 453.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.2075, allocations: 55.25 kB / 453.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.2076, allocations: 67.91 kB / 453.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2076, allocations: 7.938 kB / 453.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.2077, allocations: 4 kB / 453.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2077, allocations: 7.984 kB / 453.8 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.2094, allocations: 1.257 MB / 455.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2094, allocations: 0 / 455.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.2095, allocations: 47.92 kB / 455.1 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.2096, allocations: 7.938 kB / 455.2 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.2096, allocations: 23.92 kB / 455.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.2096, allocations: 4 kB / 455.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2096, allocations: 3.938 kB / 455.2 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009268/0.2105, allocations: 0.8126 MB / 456 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.2107, allocations: 121.1 kB / 456.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/0.2107, allocations: 15.94 kB / 456.1 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.2111, allocations: 23.92 kB / 456.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2112, allocations: 31.95 kB / 456.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.2112, allocations: 31.98 kB / 456.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005044/0.2117, allocations: 454.8 kB / 456.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2118, allocations: 0 / 456.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005441/0.2123, allocations: 79.98 kB / 456.7 MB, free: 6.105 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002398/0.2147, allocations: 1.741 MB / 458.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006845/0.2154, allocations: 307.8 kB / 458.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.2154, allocations: 0 / 458.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.2157, allocations: 149.1 kB / 458.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.2168, allocations: 142 kB / 459.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005914/0.2227, allocations: 4.517 MB / 463.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.2232, allocations: 0.8551 MB / 464.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002896/0.2235, allocations: 79.41 kB / 464.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.2238, allocations: 179.4 kB / 464.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2238, allocations: 0 / 464.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03641/0.2602, allocations: 10.39 MB / 475.1 MB, free: 3.547 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/8.075, allocations: 11.91 kB / 475.1 MB, free: 3.535 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches