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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 111.2 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001815, allocations: 191.7 kB / 20.02 MB, free: 3.051 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.49/1.49, allocations: 205.1 MB / 227.9 MB, free: 4.375 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.3356/0.3356, allocations: 43.52 MB / 320.8 MB, free: 9.012 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003396/0.003397, allocations: 67.89 kB / 450 MB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.327, allocations: 57.77 MB / 0.4959 GB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001551/0.3286, allocations: 0.5179 MB / 0.4964 GB, free: 19.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00028/0.3289, allocations: 99.11 kB / 0.4965 GB, free: 18.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.3289, allocations: 1.562 kB / 0.4965 GB, free: 18.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.329, allocations: 3.938 kB / 0.4965 GB, free: 18.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.671e-05/0.329, allocations: 0 / 0.4965 GB, free: 18.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.3292, allocations: 11.95 kB / 0.4965 GB, free: 18.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.467e-05/0.3293, allocations: 13.58 kB / 0.4965 GB, free: 18.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.3294, allocations: 2.625 kB / 0.4965 GB, free: 18.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.63e-05/0.3294, allocations: 14.98 kB / 0.4965 GB, free: 18.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.3294, allocations: 10.61 kB / 0.4965 GB, free: 18.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3295, allocations: 0 / 0.4965 GB, free: 18.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.137e-05/0.3295, allocations: 30.94 kB / 0.4966 GB, free: 18.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.3296, allocations: 5.297 kB / 0.4966 GB, free: 18.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.3296, allocations: 9.375 kB / 0.4966 GB, free: 18.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.501e-05/0.3297, allocations: 21.34 kB / 0.4966 GB, free: 18.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3297, allocations: 0 / 0.4966 GB, free: 18.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3297, allocations: 0 / 0.4966 GB, free: 18.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3297, allocations: 0 / 0.4966 GB, free: 18.91 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.000361/0.3301, allocations: 337.5 kB / 0.4969 GB, free: 18.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3301, allocations: 12.89 kB / 0.4969 GB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.803e-05/0.3302, allocations: 36.12 kB / 0.497 GB, free: 18.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.3302, allocations: 4.875 kB / 0.497 GB, free: 18.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.268e-05/0.3303, allocations: 161.9 kB / 0.4971 GB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.3303, allocations: 1.969 kB / 0.4971 GB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.3303, allocations: 5.562 kB / 0.4971 GB, free: 18.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.3305, allocations: 60.22 kB / 0.4972 GB, free: 18.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3305, allocations: 3.938 kB / 0.4972 GB, free: 18.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3305, allocations: 4 kB / 0.4972 GB, free: 18.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3305, allocations: 1.125 kB / 0.4972 GB, free: 18.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.574e-05/0.3305, allocations: 11.02 kB / 0.4972 GB, free: 18.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.3308, allocations: 327.7 kB / 0.4975 GB, free: 17.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.325e-05/0.3309, allocations: 31.95 kB / 0.4976 GB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.3309, allocations: 19.77 kB / 0.4976 GB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3309, allocations: 0 / 0.4976 GB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.3309, allocations: 32.25 kB / 0.4976 GB, free: 17.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.331, allocations: 0 / 0.4976 GB, free: 17.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000183/0.3311, allocations: 57.41 kB / 0.4977 GB, free: 17.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.3312, allocations: 52.91 kB / 0.4977 GB, free: 17.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.379e-05/0.3312, allocations: 104.7 kB / 0.4978 GB, free: 17.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.764e-06/0.3312, allocations: 25.7 kB / 0.4978 GB, free: 17.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.3313, allocations: 81.39 kB / 0.4979 GB, free: 17.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.678e-06/0.3313, allocations: 13.53 kB / 0.4979 GB, free: 17.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.3313, allocations: 13.94 kB / 0.4979 GB, free: 17.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.3314, allocations: 314.8 kB / 0.4982 GB, free: 17.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.3314, allocations: 8.266 kB / 0.4982 GB, free: 17.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.3314, allocations: 23.34 kB / 0.4983 GB, free: 17.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.851e-05/0.3315, allocations: 43.8 kB / 0.4983 GB, free: 17.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3315, allocations: 5 kB / 0.4983 GB, free: 17.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.285e-05/0.3316, allocations: 53.66 kB / 0.4984 GB, free: 16.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3316, allocations: 5.5 kB / 0.4984 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3316, allocations: 1.312 kB / 0.4984 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3316, allocations: 1.719 kB / 0.4984 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.3317, allocations: 9.75 kB / 0.4984 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3317, allocations: 1.594 kB / 0.4984 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.3317, allocations: 7.984 kB / 0.4984 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.3318, allocations: 2.75 kB / 0.4984 GB, free: 16.96 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 5.11e-05/0.3318, allocations: 119.3 kB / 0.4985 GB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.3318, allocations: 1.531 kB / 0.4985 GB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.332, allocations: 59.45 kB / 0.4986 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.332, allocations: 1.406 kB / 0.4986 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.332, allocations: 0 / 0.4986 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.332, allocations: 0 / 0.4986 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.3321, allocations: 167.3 kB / 0.4987 GB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3321, allocations: 4 kB / 0.4987 GB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.3322, allocations: 11.12 kB / 0.4987 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3322, allocations: 0 / 0.4987 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.3322, allocations: 5.062 kB / 0.4987 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3322, allocations: 0 / 0.4987 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3322, allocations: 1.562 kB / 0.4987 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.3323, allocations: 156.2 kB / 0.4989 GB, free: 16.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.3323, allocations: 78.17 kB / 0.499 GB, free: 16.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3323, allocations: 13.11 kB / 0.499 GB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.3324, allocations: 0 / 0.499 GB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.3324, allocations: 2.75 kB / 0.499 GB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3324, allocations: 1.125 kB / 0.499 GB, free: 16.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.039e-05/0.3325, allocations: 77.28 kB / 0.4991 GB, free: 16.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3325, allocations: 0 / 0.4991 GB, free: 16.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.3327, allocations: 5.156 kB / 0.4991 GB, free: 16.23 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.0002887/0.333, allocations: 0.6952 MB / 0.4997 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.3331, allocations: 27.88 kB / 0.4998 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3332, allocations: 0 / 0.4998 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.276e-05/0.3332, allocations: 16.8 kB / 0.4998 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.3334, allocations: 3.094 kB / 0.4998 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.3338, allocations: 137.2 kB / 0.4999 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3339, allocations: 0.6818 MB / 0.5006 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.3339, allocations: 1.406 kB / 0.5006 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.334, allocations: 9.656 kB / 0.5006 GB, free: 14.65 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.334, allocations: 0.9688 kB / 0.5006 GB, free: 14.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.3559, allocations: 1.3 MB / 0.5019 GB, free: 13.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.977, allocations: 16.84 kB / 0.5019 GB, free: 13.79 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.899037183029577]