Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.001074/0.001074, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008574/0.0008574, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8877/0.8877, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2474/0.2474, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.759e-05, allocations: 8.391 kB / 442.2 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0009694/0.000987, allocations: 0.4972 MB / 442.7 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002422/0.001229, allocations: 91.73 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.001253, allocations: 0 / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.001268, allocations: 4 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.184e-05/0.001289, allocations: 3.938 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.001483, allocations: 15.91 kB / 442.8 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.623e-05/0.001539, allocations: 19.92 kB / 442.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.001589, allocations: 0 / 442.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.001629, allocations: 4 kB / 442.8 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.001678, allocations: 11.98 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.001693, allocations: 0 / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.22e-05/0.001765, allocations: 27.97 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.001779, allocations: 3.984 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.001797, allocations: 7.922 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.217e-05/0.001889, allocations: 23.97 kB / 442.9 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.001891, allocations: 4 kB / 442.9 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.001891, allocations: 0 / 442.9 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.001895, allocations: 0 / 442.9 MB, free: 0.9844 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.0003216/0.002217, allocations: 258.2 kB / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.002258, allocations: 12.03 kB / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.002287, allocations: 34.75 kB / 443.2 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.002309, allocations: 0.9375 kB / 443.2 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.55e-05/0.002384, allocations: 105.8 kB / 443.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.002395, allocations: 4.375 kB / 443.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.002403, allocations: 384 / 443.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.002513, allocations: 63.95 kB / 443.3 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.00252, allocations: 192 / 443.3 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.002527, allocations: 4.312 kB / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.002534, allocations: 4.125 kB / 443.3 MB, free: 440 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.69e-05/0.002571, allocations: 11.94 kB / 443.4 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.002829, allocations: 288.2 kB / 443.6 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.57e-05/0.002875, allocations: 22.58 kB / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.002902, allocations: 12.94 kB / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.002919, allocations: 11.94 kB / 443.7 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1906/0.1935, allocations: 38.31 kB / 443.7 MB, free: 44.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/0.1935, allocations: 0 / 443.7 MB, free: 44.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002116/0.1937, allocations: 55.94 kB / 443.8 MB, free: 44.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.1938, allocations: 51.41 kB / 443.8 MB, free: 44.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.677e-05/0.1938, allocations: 103 kB / 443.9 MB, free: 44.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.1938, allocations: 28.48 kB / 444 MB, free: 44.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.1938, allocations: 85.86 kB / 444 MB, free: 43.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.1938, allocations: 10.84 kB / 444 MB, free: 43.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.1939, allocations: 15.66 kB / 444.1 MB, free: 43.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.124e-05/0.1939, allocations: 319 kB / 444.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.1939, allocations: 5.719 kB / 444.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.1939, allocations: 20.89 kB / 444.4 MB, free: 43.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.042e-05/0.194, allocations: 33.47 kB / 444.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.194, allocations: 0 / 444.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.533e-05/0.194, allocations: 56.72 kB / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1941, allocations: 9 kB / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1941, allocations: 3.203 kB / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1941, allocations: 0 / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.1941, allocations: 17.95 kB / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1941, allocations: 0 / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.1942, allocations: 8.547 kB / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1942, allocations: 2.719 kB / 444.5 MB, free: 43.54 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.835e-05/0.1942, allocations: 112.3 kB / 444.6 MB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.1942, allocations: 4.562 kB / 444.6 MB, free: 43.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.242e-05/0.1943, allocations: 62.91 kB / 444.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1943, allocations: 0 / 444.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1943, allocations: 3.125 kB / 444.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1943, allocations: 1.781 kB / 444.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.398e-05/0.1944, allocations: 130 kB / 444.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1944, allocations: 3.938 kB / 444.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.1944, allocations: 7.344 kB / 444.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1944, allocations: 2.406 kB / 444.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1944, allocations: 1.562 kB / 444.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1944, allocations: 0 / 444.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1944, allocations: 6.594 kB / 444.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.172e-05/0.1945, allocations: 155.1 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-06/0.1945, allocations: 10.84 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.1945, allocations: 0 / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.1945, allocations: 0.8125 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.1946, allocations: 3.406 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1946, allocations: 5.953 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.339e-05/0.1946, allocations: 77.52 kB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1946, allocations: 3.75 kB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001438/0.1947, allocations: 6.125 kB / 445.1 MB, free: 43.02 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.0001899/0.1949, allocations: 0.6823 MB / 445.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.733e-05/0.195, allocations: 28.75 kB / 445.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.195, allocations: 0 / 445.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.76e-05/0.195, allocations: 13.53 kB / 445.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.1952, allocations: 7.781 kB / 445.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.1955, allocations: 136.1 kB / 446 MB, free: 42.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.118e-05/0.1955, allocations: 68.75 kB / 446 MB, free: 42.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.706e-05/0.1955, allocations: 8.672 kB / 446.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.1955, allocations: 9.938 kB / 446.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1955, allocations: 6.469 kB / 446.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.2117, allocations: 1.941 MB / 448 MB, free: 41.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.288/7.5, allocations: 4 kB / 448 MB, free: 41.32 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 9.627863646484911]