Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001419/0.001419, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.001533/0.001533, allocations: 211.2 kB / 20.75 MB, free: 2.27 MB / 14.72 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 1.469/1.469, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.2191/0.2191, allocations: 44.91 MB / 355.1 MB, free: 12.34 MB / 286.1 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.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.88 kB / 499.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1202, allocations: 65.43 MB / 0.5517 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0018/0.122, allocations: 0.5086 MB / 0.5522 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002985/0.1223, allocations: 91.77 kB / 0.5523 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.1223, allocations: 3.938 kB / 0.5523 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.1223, allocations: 0 / 0.5523 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.766e-05/0.1224, allocations: 0 / 0.5523 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.1225, allocations: 19.92 kB / 0.5523 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.046e-05/0.1226, allocations: 8 kB / 0.5524 GB, free: 9.652 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.1226, allocations: 7.984 kB / 0.5524 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.618e-05/0.1227, allocations: 7.938 kB / 0.5524 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.1227, allocations: 4 kB / 0.5524 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.1227, allocations: 0 / 0.5524 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.315e-05/0.1228, allocations: 35.95 kB / 0.5524 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.1228, allocations: 0 / 0.5524 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.1229, allocations: 11.92 kB / 0.5524 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 9.76e-05/0.123, allocations: 32.12 kB / 0.5525 GB, free: 9.555 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.123, allocations: 0 / 0.5525 GB, free: 9.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.123, allocations: 0 / 0.5525 GB, free: 9.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.123, allocations: 4 kB / 0.5525 GB, free: 9.551 MB / 414.1 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.0004203/0.1234, allocations: 327.9 kB / 0.5528 GB, free: 9.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1234, allocations: 12.03 kB / 0.5528 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.1235, allocations: 30.75 kB / 0.5528 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.229e-05/0.1235, allocations: 0.9375 kB / 0.5528 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1236, allocations: 164.4 kB / 0.553 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1236, allocations: 4.375 kB / 0.553 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.1236, allocations: 4.312 kB / 0.553 GB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1238, allocations: 59.97 kB / 0.553 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1238, allocations: 3.938 kB / 0.553 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.1238, allocations: 0 / 0.553 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1238, allocations: 0 / 0.553 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.1238, allocations: 8 kB / 0.553 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.1241, allocations: 329 kB / 0.5534 GB, free: 8.465 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.704e-05/0.1242, allocations: 38.45 kB / 0.5534 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.1242, allocations: 8.859 kB / 0.5534 GB, free: 8.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1243, allocations: 8 kB / 0.5534 GB, free: 8.398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1243, allocations: 30.56 kB / 0.5534 GB, free: 8.359 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.1243, allocations: 0 / 0.5534 GB, free: 8.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001832/0.1245, allocations: 57.67 kB / 0.5535 GB, free: 8.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1245, allocations: 55.39 kB / 0.5535 GB, free: 8.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.1246, allocations: 101.9 kB / 0.5536 GB, free: 8.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1246, allocations: 25.7 kB / 0.5537 GB, free: 8.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.1247, allocations: 80.14 kB / 0.5537 GB, free: 8.008 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.1247, allocations: 15.91 kB / 0.5538 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.1247, allocations: 17.7 kB / 0.5538 GB, free: 7.969 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1248, allocations: 318.8 kB / 0.5541 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.1249, allocations: 4 kB / 0.5541 GB, free: 7.645 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.1249, allocations: 25.83 kB / 0.5541 GB, free: 7.613 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.539e-05/0.125, allocations: 29.66 kB / 0.5541 GB, free: 7.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.125, allocations: 3.938 kB / 0.5541 GB, free: 7.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.782e-05/0.1251, allocations: 53.69 kB / 0.5542 GB, free: 7.516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1251, allocations: 8 kB / 0.5542 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1251, allocations: 0 / 0.5542 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1251, allocations: 3.938 kB / 0.5542 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.1252, allocations: 8 kB / 0.5542 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1252, allocations: 4.031 kB / 0.5542 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.1252, allocations: 7.938 kB / 0.5542 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.1252, allocations: 4 kB / 0.5542 GB, free: 7.48 MB / 414.1 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 8.379e-05/0.1253, allocations: 117.7 kB / 0.5543 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1253, allocations: 0 / 0.5543 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.1254, allocations: 65.25 kB / 0.5544 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1254, allocations: 240 / 0.5544 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1254, allocations: 0 / 0.5544 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1254, allocations: 7.984 kB / 0.5544 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.1256, allocations: 169.6 kB / 0.5546 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1256, allocations: 0 / 0.5546 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.1256, allocations: 11.98 kB / 0.5546 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1257, allocations: 0 / 0.5546 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.1257, allocations: 0 / 0.5546 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1257, allocations: 0 / 0.5546 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1257, allocations: 0 / 0.5546 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.1258, allocations: 151.5 kB / 0.5547 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.1258, allocations: 85.06 kB / 0.5548 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.1259, allocations: 0 / 0.5548 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.901e-05/0.1259, allocations: 4 kB / 0.5548 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.1259, allocations: 11.88 kB / 0.5548 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.1259, allocations: 0 / 0.5548 GB, free: 6.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.85e-05/0.126, allocations: 79.27 kB / 0.5549 GB, free: 6.691 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.126, allocations: 0 / 0.5549 GB, free: 6.691 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000215/0.1262, allocations: 8 kB / 0.5549 GB, free: 6.684 MB / 414.1 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.0004566/0.1266, allocations: 0.6852 MB / 0.5556 GB, free: 5.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.1268, allocations: 31.92 kB / 0.5556 GB, free: 5.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1268, allocations: 0 / 0.5556 GB, free: 5.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.1268, allocations: 8.188 kB / 0.5556 GB, free: 5.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.127, allocations: 8 kB / 0.5556 GB, free: 5.922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.1274, allocations: 142.8 kB / 0.5558 GB, free: 5.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1277, allocations: 0.6768 MB / 0.5564 GB, free: 5.039 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.021e-05/0.1277, allocations: 8 kB / 0.5564 GB, free: 5.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.1277, allocations: 7.438 kB / 0.5564 GB, free: 5.023 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1277, allocations: 0 / 0.5564 GB, free: 5.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.1506, allocations: 1.304 MB / 0.5577 GB, free: 3.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.009, allocations: 22.92 kB / 0.5577 GB, free: 3.812 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 11.039012826047838]