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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 113.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2047/0.2047, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3249, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001635/0.3266, allocations: 0.5096 MB / 0.5189 GB, free: 2.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003154/0.3269, allocations: 100.1 kB / 0.519 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.327, allocations: 0 / 0.519 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.327, allocations: 3.938 kB / 0.519 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.694e-05/0.327, allocations: 0 / 0.519 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.3272, allocations: 14.5 kB / 0.519 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.3273, allocations: 15.38 kB / 0.519 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.3274, allocations: 2.734 kB / 0.519 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.674e-05/0.3274, allocations: 8.391 kB / 0.519 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.3274, allocations: 12.48 kB / 0.519 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3275, allocations: 1.062 kB / 0.519 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.835e-05/0.3276, allocations: 32.81 kB / 0.5191 GB, free: 2.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.3276, allocations: 1.156 kB / 0.5191 GB, free: 2.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.3276, allocations: 11.94 kB / 0.5191 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.608e-05/0.3277, allocations: 23.09 kB / 0.5191 GB, free: 2.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3277, allocations: 5.25 kB / 0.5191 GB, free: 2.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3277, allocations: 0 / 0.5191 GB, free: 2.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3277, allocations: 0 / 0.5191 GB, free: 2.848 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.0003211/0.3281, allocations: 329.3 kB / 0.5194 GB, free: 2.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3281, allocations: 8.438 kB / 0.5194 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.3281, allocations: 36.03 kB / 0.5195 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.3282, allocations: 9.953 kB / 0.5195 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.131e-05/0.3282, allocations: 161.7 kB / 0.5196 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3283, allocations: 1.375 kB / 0.5196 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.3283, allocations: 1.469 kB / 0.5196 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.3284, allocations: 57.27 kB / 0.5197 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.3284, allocations: 9.062 kB / 0.5197 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.3284, allocations: 3.938 kB / 0.5197 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3284, allocations: 4.156 kB / 0.5197 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.421e-05/0.3285, allocations: 6.438 kB / 0.5197 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.3287, allocations: 316.9 kB / 0.52 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.992e-05/0.3288, allocations: 33.75 kB / 0.5201 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.3288, allocations: 20.95 kB / 0.5201 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.3288, allocations: 1.156 kB / 0.5201 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.3289, allocations: 30.56 kB / 0.5201 GB, free: 1.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3289, allocations: 1.188 kB / 0.5201 GB, free: 1.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001765/0.329, allocations: 53.69 kB / 0.5202 GB, free: 1.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.3291, allocations: 52.59 kB / 0.5202 GB, free: 1.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.129e-05/0.3291, allocations: 98.45 kB / 0.5203 GB, free: 1.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.3291, allocations: 29.83 kB / 0.5203 GB, free: 1.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/0.3292, allocations: 85.89 kB / 0.5204 GB, free: 1.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.3292, allocations: 18.38 kB / 0.5204 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.3292, allocations: 14.84 kB / 0.5204 GB, free: 1.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.3293, allocations: 317.2 kB / 0.5207 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.3293, allocations: 3.906 kB / 0.5207 GB, free: 1.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.3293, allocations: 21.8 kB / 0.5208 GB, free: 1.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.3294, allocations: 42.03 kB / 0.5208 GB, free: 1.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3294, allocations: 7.875 kB / 0.5208 GB, free: 1.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.782e-05/0.3295, allocations: 53.62 kB / 0.5209 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3295, allocations: 6.031 kB / 0.5209 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3295, allocations: 1.156 kB / 0.5209 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3295, allocations: 1.188 kB / 0.5209 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-05/0.3296, allocations: 8.578 kB / 0.5209 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3296, allocations: 7.938 kB / 0.5209 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.3296, allocations: 2.844 kB / 0.5209 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.3296, allocations: 5.094 kB / 0.5209 GB, free: 0.9531 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.423e-05/0.3297, allocations: 116.8 kB / 0.521 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.3297, allocations: 1.219 kB / 0.521 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.3298, allocations: 57 kB / 0.5211 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3298, allocations: 1.438 kB / 0.5211 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3298, allocations: 0.7031 kB / 0.5211 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3298, allocations: 0 / 0.5211 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.3299, allocations: 166.7 kB / 0.5212 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.33, allocations: 5.344 kB / 0.5212 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.33, allocations: 11.77 kB / 0.5212 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.33, allocations: 0 / 0.5212 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.33, allocations: 1.844 kB / 0.5212 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.33, allocations: 0 / 0.5212 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.33, allocations: 0 / 0.5212 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.901e-05/0.3301, allocations: 153.1 kB / 0.5214 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.3301, allocations: 83.14 kB / 0.5215 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.3302, allocations: 6.031 kB / 0.5215 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.3302, allocations: 4 kB / 0.5215 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.3302, allocations: 3.5 kB / 0.5215 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3303, allocations: 0.9375 kB / 0.5215 GB, free: 332 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.911e-05/0.3303, allocations: 78.97 kB / 0.5216 GB, free: 256 kB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3303, allocations: 0 / 0.5216 GB, free: 256 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.3305, allocations: 5.344 kB / 0.5216 GB, free: 256 kB / 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.0003723/0.3309, allocations: 0.6994 MB / 0.5222 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.331, allocations: 30.88 kB / 0.5223 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.331, allocations: 0 / 0.5223 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.076e-05/0.331, allocations: 19 kB / 0.5223 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.3312, allocations: 5.125 kB / 0.5223 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.3316, allocations: 132.2 kB / 0.5224 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3319, allocations: 0.6852 MB / 0.5231 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.816e-05/0.3319, allocations: 2.078 kB / 0.5231 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.332, allocations: 10.58 kB / 0.5231 GB, free: 14.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.332, allocations: 0 / 0.5231 GB, free: 14.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.3486, allocations: 1.29 MB / 0.5244 GB, free: 14.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/7.725, allocations: 14.08 kB / 0.5244 GB, free: 14.32 MB / 398.1 MB (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) 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) Reference file matches