Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008503/0.0008503, allocations: 84.33 kB / 20.67 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008024/0.0008024, allocations: 160.9 kB / 23.94 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9019/0.9019, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2497/0.2497, allocations: 34.25 MB / 294.9 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.143e-05, allocations: 10.22 kB / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.002103/0.002134, allocations: 0.4956 MB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003085/0.002442, allocations: 91.73 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.002466, allocations: 3.938 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.002484, allocations: 4 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.578e-05/0.00251, allocations: 3.938 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.002733, allocations: 19.91 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.103e-05/0.002794, allocations: 8 kB / 442.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.002839, allocations: 0 / 442.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/0.002886, allocations: 11.98 kB / 442.8 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.002948, allocations: 7.984 kB / 442.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.002966, allocations: 0 / 442.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.644e-05/0.003062, allocations: 31.95 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.003078, allocations: 0 / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.003102, allocations: 15.88 kB / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.003215, allocations: 27.95 kB / 442.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.003217, allocations: 0 / 442.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003218, allocations: 0 / 442.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.003227, allocations: 0 / 442.9 MB, free: 0.8633 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003883/0.003615, allocations: 258.3 kB / 443.2 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.003665, allocations: 12.02 kB / 443.2 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.0037, allocations: 30.75 kB / 443.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.003727, allocations: 0.9375 kB / 443.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.003831, allocations: 105.8 kB / 443.3 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.003846, allocations: 8.375 kB / 443.3 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.00386, allocations: 4.375 kB / 443.3 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.004003, allocations: 55.91 kB / 443.4 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.004012, allocations: 192 / 443.4 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.004022, allocations: 384 / 443.4 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.00403, allocations: 8.062 kB / 443.4 MB, free: 320 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.967e-05/0.00408, allocations: 15.98 kB / 443.4 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1834/0.1875, allocations: 283.6 kB / 443.7 MB, free: 44.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.019e-05/0.1876, allocations: 21.95 kB / 443.7 MB, free: 44.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.1876, allocations: 12.42 kB / 443.7 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1877, allocations: 5.141 kB / 443.7 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.1877, allocations: 44.48 kB / 443.8 MB, free: 44.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.1877, allocations: 0 / 443.8 MB, free: 44.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.000156/0.1878, allocations: 57.38 kB / 443.8 MB, free: 44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.1879, allocations: 52.12 kB / 443.9 MB, free: 43.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.232e-05/0.1879, allocations: 98.53 kB / 444 MB, free: 43.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.1879, allocations: 26.64 kB / 444 MB, free: 43.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.1879, allocations: 91.16 kB / 444.1 MB, free: 43.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.188, allocations: 10.81 kB / 444.1 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.188, allocations: 19.12 kB / 444.1 MB, free: 43.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.833e-05/0.188, allocations: 314.3 kB / 444.4 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.188, allocations: 7.875 kB / 444.4 MB, free: 43.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.188, allocations: 23.72 kB / 444.5 MB, free: 43.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.1881, allocations: 28 kB / 444.5 MB, free: 43.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1881, allocations: 0 / 444.5 MB, free: 43.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.959e-05/0.1881, allocations: 59.66 kB / 444.5 MB, free: 43.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1881, allocations: 5.781 kB / 444.5 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1881, allocations: 0 / 444.5 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1882, allocations: 6.375 kB / 444.6 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.1882, allocations: 12.58 kB / 444.6 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1882, allocations: 1.875 kB / 444.6 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.1882, allocations: 7.516 kB / 444.6 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.1882, allocations: 3.938 kB / 444.6 MB, free: 43.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 3.406e-05/0.1883, allocations: 112.3 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.1883, allocations: 2.875 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.744e-05/0.1884, allocations: 63.67 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1884, allocations: 0 / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1884, allocations: 0 / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1884, allocations: 3.844 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.046e-05/0.1885, allocations: 133.8 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1885, allocations: 2.812 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.8e-05/0.1885, allocations: 6.531 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1885, allocations: 3.719 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.1885, allocations: 0.6875 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.1885, allocations: 0.5625 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1885, allocations: 2.844 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.843e-05/0.1886, allocations: 159.7 kB / 445.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.1886, allocations: 3.328 kB / 445.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.1886, allocations: 8.094 kB / 445.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.491e-05/0.1886, allocations: 2.672 kB / 445.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.1886, allocations: 5.156 kB / 445.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.1886, allocations: 0 / 445.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.23e-05/0.1886, allocations: 82.22 kB / 445.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1886, allocations: 0 / 445.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001531/0.1888, allocations: 10.94 kB / 445.2 MB, free: 42.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001756/0.189, allocations: 0.6769 MB / 445.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.764e-05/0.189, allocations: 24.8 kB / 445.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.189, allocations: 2.906 kB / 445.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.799e-05/0.1891, allocations: 15.12 kB / 445.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.1892, allocations: 5.031 kB / 445.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.1895, allocations: 138.1 kB / 446 MB, free: 42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.897e-05/0.1895, allocations: 60.44 kB / 446.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.598e-05/0.1895, allocations: 10.78 kB / 446.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.1895, allocations: 16.06 kB / 446.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.1895, allocations: 4 kB / 446.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.2043, allocations: 1.912 MB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.538/6.742, allocations: 19.77 kB / 448 MB, free: 41.08 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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: 8.854487963952124]