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.00176/0.00176, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.00224/0.00224, allocations: 214.8 kB / 23.73 MB, free: 4.41 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2228/0.2228, allocations: 46.95 MB / 360.9 MB, free: 4.012 MB / 286.1 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 0.002045/0.002045, allocations: 67.84 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3251, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001658/0.3268, allocations: 499.4 kB / 0.5611 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003301/0.3271, allocations: 91.67 kB / 0.5611 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.3271, allocations: 4 kB / 0.5612 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.3271, allocations: 4 kB / 0.5612 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.88e-05/0.3272, allocations: 0 / 0.5612 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.3274, allocations: 19.91 kB / 0.5612 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.593e-05/0.3274, allocations: 11.98 kB / 0.5612 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.3275, allocations: 7.984 kB / 0.5612 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.297e-05/0.3275, allocations: 0 / 0.5612 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.3275, allocations: 11.94 kB / 0.5612 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3275, allocations: 0 / 0.5612 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.442e-05/0.3276, allocations: 27.97 kB / 0.5612 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.3276, allocations: 3.984 kB / 0.5612 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.3277, allocations: 15.94 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.656e-05/0.3278, allocations: 21.78 kB / 0.5613 GB, free: 3.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3278, allocations: 4 kB / 0.5613 GB, free: 3.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3278, allocations: 0 / 0.5613 GB, free: 3.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.3278, allocations: 0 / 0.5613 GB, free: 3.516 MB / 398.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.0003864/0.3282, allocations: 258.2 kB / 0.5615 GB, free: 3.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3282, allocations: 8.031 kB / 0.5615 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.3282, allocations: 34.75 kB / 0.5616 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.029e-05/0.3283, allocations: 4.938 kB / 0.5616 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.3284, allocations: 110.5 kB / 0.5617 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3284, allocations: 384 / 0.5617 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.3284, allocations: 4.375 kB / 0.5617 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.3285, allocations: 59.97 kB / 0.5617 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3285, allocations: 3.938 kB / 0.5617 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.3285, allocations: 0 / 0.5617 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3285, allocations: 0 / 0.5617 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.617e-05/0.3286, allocations: 15.92 kB / 0.5618 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.3289, allocations: 296.2 kB / 0.562 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.251e-05/0.329, allocations: 26.52 kB / 0.5621 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.329, allocations: 20.94 kB / 0.5621 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.329, allocations: 4 kB / 0.5621 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.3291, allocations: 30.56 kB / 0.5621 GB, free: 2.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3291, allocations: 0 / 0.5621 GB, free: 2.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001675/0.3292, allocations: 61.58 kB / 0.5622 GB, free: 2.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.3293, allocations: 51.41 kB / 0.5622 GB, free: 2.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.3293, allocations: 97.86 kB / 0.5623 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3294, allocations: 25.7 kB / 0.5623 GB, free: 2.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.3294, allocations: 80.14 kB / 0.5624 GB, free: 2.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.3294, allocations: 19.83 kB / 0.5624 GB, free: 2.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.3294, allocations: 13.84 kB / 0.5624 GB, free: 2.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3296, allocations: 322.8 kB / 0.5628 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.3296, allocations: 4 kB / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.3296, allocations: 21.7 kB / 0.5628 GB, free: 1.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.3297, allocations: 33.83 kB / 0.5628 GB, free: 1.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3297, allocations: 3.938 kB / 0.5628 GB, free: 1.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.393e-05/0.3298, allocations: 57.62 kB / 0.5629 GB, free: 1.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3298, allocations: 4 kB / 0.5629 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3298, allocations: 4 kB / 0.5629 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3298, allocations: 0 / 0.5629 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.3299, allocations: 16.02 kB / 0.5629 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3299, allocations: 3.938 kB / 0.5629 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.3299, allocations: 3.953 kB / 0.5629 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3299, allocations: 4 kB / 0.5629 GB, free: 1.629 MB / 398.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.823e-05/0.33, allocations: 113.8 kB / 0.563 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.33, allocations: 0 / 0.563 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.3302, allocations: 61.31 kB / 0.5631 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3302, allocations: 0 / 0.5631 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3302, allocations: 4 kB / 0.5631 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3302, allocations: 3.984 kB / 0.5631 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.3303, allocations: 132.9 kB / 0.5632 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3304, allocations: 4 kB / 0.5632 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.3304, allocations: 8 kB / 0.5632 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.3304, allocations: 0 / 0.5632 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3304, allocations: 3.984 kB / 0.5632 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3304, allocations: 0 / 0.5632 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3304, allocations: 0 / 0.5632 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.3305, allocations: 151.5 kB / 0.5634 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-06/0.3306, allocations: 11.83 kB / 0.5634 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3306, allocations: 8 kB / 0.5634 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.686e-05/0.3306, allocations: 3.938 kB / 0.5634 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.3306, allocations: 4 kB / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.3307, allocations: 4 kB / 0.5634 GB, free: 1.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.155e-05/0.3307, allocations: 79.27 kB / 0.5635 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3307, allocations: 0 / 0.5635 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.3309, allocations: 8 kB / 0.5635 GB, free: 0.957 MB / 398.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.0004656/0.3314, allocations: 0.6773 MB / 0.5641 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.3315, allocations: 31.92 kB / 0.5642 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3315, allocations: 0 / 0.5642 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/0.3315, allocations: 12.16 kB / 0.5642 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.3317, allocations: 4 kB / 0.5642 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.3321, allocations: 142.6 kB / 0.5643 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.657e-05/0.3322, allocations: 71.22 kB / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.882e-05/0.3322, allocations: 4 kB / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.3322, allocations: 11.42 kB / 0.5644 GB, free: 15.92 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3322, allocations: 4 kB / 0.5644 GB, free: 15.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.3596, allocations: 1.796 MB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.24, allocations: 8.062 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/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: 14.333214899059385]