Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001279/0.001279, allocations: 118.5 kB / 17.13 MB, free: 5.941 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.001394/0.001394, allocations: 208.3 kB / 20.09 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 207.6 MB / 230.5 MB, free: 4.035 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3535/0.3535, allocations: 44.24 MB / 326.6 MB, free: 6.832 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002264/0.002264, allocations: 71.91 kB / 462.2 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2954, allocations: 60.99 MB / 0.5109 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001729/0.2971, allocations: 0.5238 MB / 0.5114 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002969/0.2974, allocations: 91.92 kB / 0.5115 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.2974, allocations: 0 / 0.5115 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.2975, allocations: 1.156 kB / 0.5115 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.719e-05/0.2975, allocations: 3.938 kB / 0.5115 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.2977, allocations: 16.39 kB / 0.5115 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.2977, allocations: 13.67 kB / 0.5116 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.2978, allocations: 1.125 kB / 0.5116 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.933e-05/0.2978, allocations: 11.28 kB / 0.5116 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.2979, allocations: 14.22 kB / 0.5116 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.2979, allocations: 1.062 kB / 0.5116 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.298, allocations: 31.47 kB / 0.5116 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.298, allocations: 5.062 kB / 0.5116 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.298, allocations: 9.016 kB / 0.5116 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.2981, allocations: 21.39 kB / 0.5116 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2981, allocations: 0 / 0.5116 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2981, allocations: 3.938 kB / 0.5117 GB, free: 12.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2981, allocations: 0 / 0.5117 GB, free: 12.75 MB / 382.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.0003382/0.2984, allocations: 336.4 kB / 0.512 GB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2985, allocations: 12.89 kB / 0.512 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.37e-05/0.2985, allocations: 35.98 kB / 0.512 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.2985, allocations: 1.969 kB / 0.512 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.298e-05/0.2986, allocations: 161.5 kB / 0.5122 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.2986, allocations: 1.375 kB / 0.5122 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2986, allocations: 6.594 kB / 0.5122 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.2988, allocations: 63.03 kB / 0.5122 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2988, allocations: 5.062 kB / 0.5122 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.2988, allocations: 0 / 0.5122 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2988, allocations: 5.344 kB / 0.5123 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.779e-05/0.2988, allocations: 14.42 kB / 0.5123 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.2991, allocations: 319.6 kB / 0.5126 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.165e-05/0.2991, allocations: 31.11 kB / 0.5126 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.2992, allocations: 22.66 kB / 0.5126 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.2992, allocations: 1.219 kB / 0.5126 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.2992, allocations: 31.81 kB / 0.5127 GB, free: 11.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2992, allocations: 0 / 0.5127 GB, free: 11.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001863/0.2994, allocations: 58.23 kB / 0.5127 GB, free: 11.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.2994, allocations: 51.41 kB / 0.5128 GB, free: 11.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.342e-05/0.2995, allocations: 98.48 kB / 0.5129 GB, free: 11.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.2995, allocations: 25.7 kB / 0.5129 GB, free: 11.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.2995, allocations: 80.14 kB / 0.513 GB, free: 11.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.2995, allocations: 22.14 kB / 0.513 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.2995, allocations: 17.53 kB / 0.513 GB, free: 11.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.997e-05/0.2996, allocations: 310.8 kB / 0.5133 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.2996, allocations: 8.109 kB / 0.5133 GB, free: 10.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.2996, allocations: 20.34 kB / 0.5133 GB, free: 10.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.2997, allocations: 35.77 kB / 0.5133 GB, free: 10.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2997, allocations: 3.938 kB / 0.5134 GB, free: 10.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001148/0.2998, allocations: 54.62 kB / 0.5134 GB, free: 10.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2998, allocations: 5.75 kB / 0.5134 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2998, allocations: 3.938 kB / 0.5134 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2998, allocations: 7.859 kB / 0.5134 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.2999, allocations: 3.844 kB / 0.5134 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2999, allocations: 3.5 kB / 0.5134 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.2999, allocations: 7.984 kB / 0.5134 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2999, allocations: 0 / 0.5134 GB, free: 10.81 MB / 382.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 4.866e-05/0.3, allocations: 124.9 kB / 0.5136 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.3, allocations: 0 / 0.5136 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.3001, allocations: 60.56 kB / 0.5136 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3001, allocations: 7.797 kB / 0.5136 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3001, allocations: 3.938 kB / 0.5136 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3001, allocations: 0 / 0.5136 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.3002, allocations: 161.6 kB / 0.5138 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3002, allocations: 8 kB / 0.5138 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.3003, allocations: 7.188 kB / 0.5138 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3003, allocations: 0 / 0.5138 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3003, allocations: 0 / 0.5138 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3003, allocations: 3.406 kB / 0.5138 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3003, allocations: 0 / 0.5138 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.252e-05/0.3004, allocations: 155.3 kB / 0.5139 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.3004, allocations: 81.11 kB / 0.514 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.3004, allocations: 7.438 kB / 0.514 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.114e-05/0.3005, allocations: 0 / 0.514 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.3005, allocations: 3.984 kB / 0.514 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3005, allocations: 3.594 kB / 0.514 GB, free: 10.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.828e-05/0.3005, allocations: 75.28 kB / 0.5141 GB, free: 10.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3005, allocations: 0 / 0.5141 GB, free: 10.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.3007, allocations: 9.312 kB / 0.5141 GB, free: 10.07 MB / 382.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.0002803/0.301, allocations: 0.687 MB / 0.5148 GB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.3011, allocations: 27.45 kB / 0.5148 GB, free: 9.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3012, allocations: 0 / 0.5148 GB, free: 9.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.3012, allocations: 12.41 kB / 0.5148 GB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.3014, allocations: 9.562 kB / 0.5148 GB, free: 9.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.3018, allocations: 142.7 kB / 0.515 GB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.619e-05/0.3019, allocations: 0.6787 MB / 0.5156 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.967e-05/0.3019, allocations: 5.422 kB / 0.5156 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.3019, allocations: 10.22 kB / 0.5156 GB, free: 8.492 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3019, allocations: 0 / 0.5156 GB, free: 8.492 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.3276, allocations: 1.307 MB / 0.5169 GB, free: 7.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.155, allocations: 2.781 kB / 0.5169 GB, free: 7.66 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.189317191005102]