Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",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.001232/0.001232, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001328/0.001328, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2362/0.2362, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.00202, allocations: 68.45 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1823, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.006045/0.1884, allocations: 1.89 MB / 471.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.1913, allocations: 0.986 MB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.1916, allocations: 4 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008966/0.1925, allocations: 251.4 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007895/0.1934, allocations: 183.4 kB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009921/0.1945, allocations: 186.8 kB / 472.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006435/0.1951, allocations: 255.3 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.1953, allocations: 21.67 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003689/0.1957, allocations: 131.5 kB / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.1961, allocations: 187.5 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.1962, allocations: 8 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.1965, allocations: 55.98 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.1966, allocations: 67.69 kB / 473.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.1968, allocations: 91.3 kB / 473.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.1974, allocations: 239.4 kB / 473.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.1974, allocations: 3.938 kB / 473.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1974, allocations: 4 kB / 473.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.1974, allocations: 0 / 473.9 MB, free: 9.715 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00129/0.1987, allocations: 0.5641 MB / 474.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.907e-05/0.1988, allocations: 8.031 kB / 474.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.583e-05/0.1989, allocations: 42.73 kB / 474.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.199, allocations: 32.56 kB / 474.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.1996, allocations: 288 kB / 474.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.1996, allocations: 8.375 kB / 474.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.1997, allocations: 11.94 kB / 474.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.2001, allocations: 111.3 kB / 475 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.2001, allocations: 0 / 475 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.2002, allocations: 11.94 kB / 475 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.2002, allocations: 0 / 475 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.2004, allocations: 43.95 kB / 475 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008865/0.2013, allocations: 488.7 kB / 475.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.2019, allocations: 129.2 kB / 475.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.202, allocations: 41.83 kB / 475.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.2021, allocations: 4 kB / 475.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004209/0.2025, allocations: 117.1 kB / 475.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.834e-06/0.2025, allocations: 3.938 kB / 475.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001918/0.2045, allocations: 0.4967 MB / 476.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.2046, allocations: 85.05 kB / 476.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.2053, allocations: 481.7 kB / 476.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.2053, allocations: 29.7 kB / 476.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.2055, allocations: 164.4 kB / 477 MB, free: 6.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.52e-05/0.2056, allocations: 71.09 kB / 477.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/0.2057, allocations: 41.7 kB / 477.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.2059, allocations: 354.8 kB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.2061, allocations: 55.97 kB / 477.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.2063, allocations: 91.34 kB / 477.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.2066, allocations: 155.5 kB / 477.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2066, allocations: 7.938 kB / 477.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005449/0.2072, allocations: 237.1 kB / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.2072, allocations: 4 kB / 478 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2073, allocations: 4 kB / 478 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2073, allocations: 0 / 478 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.2075, allocations: 47.92 kB / 478.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.2075, allocations: 3.984 kB / 478.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.2076, allocations: 15.97 kB / 478.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.2077, allocations: 8 kB / 478.1 MB, free: 5.23 MB / 350.1 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002079/0.2079, allocations: 181.6 kB / 478.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.208, allocations: 35.56 kB / 478.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.987e-05/0.2081, allocations: 42.8 kB / 478.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2081, allocations: 7.938 kB / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2081, allocations: 0 / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2081, allocations: 0 / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.2092, allocations: 0.7311 MB / 479.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2093, allocations: 0 / 479.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.2094, allocations: 31.92 kB / 479.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.2094, allocations: 4 kB / 479.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.2094, allocations: 12.12 kB / 479.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.2094, allocations: 4 kB / 479.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.2095, allocations: 3.938 kB / 479.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006094/0.2101, allocations: 421.7 kB / 479.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.2102, allocations: 100.7 kB / 479.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.2102, allocations: 8 kB / 479.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.2105, allocations: 11.98 kB / 479.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.2105, allocations: 23.86 kB / 479.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.2106, allocations: 11.98 kB / 479.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004172/0.211, allocations: 355.1 kB / 480 MB, free: 3.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.211, allocations: 4 kB / 480.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006113/0.2116, allocations: 51.98 kB / 480.1 MB, free: 3.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (22): * Single equations (assignments): 18 * 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.002446/0.2141, allocations: 1.372 MB / 481.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005131/0.2146, allocations: 175.6 kB / 481.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2146, allocations: 0 / 481.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.2149, allocations: 80.16 kB / 481.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009547/0.2158, allocations: 65.31 kB / 481.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005396/0.2213, allocations: 2.958 MB / 484.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.2218, allocations: 0.7831 MB / 485.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.222, allocations: 37.94 kB / 485.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.2222, allocations: 95.39 kB / 485.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2222, allocations: 0 / 485.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.2528, allocations: 6.395 MB / 492.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.729, allocations: 12.3 kB / 492.1 MB, free: 7.25 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches