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.001484/0.001484, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001703/0.001703, 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.39/1.39, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.228/0.228, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 71.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3351, allocations: 60.81 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001346/0.3365, allocations: 0.5112 MB / 0.5189 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002594/0.3368, allocations: 102.1 kB / 0.519 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.3368, allocations: 0 / 0.519 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.3368, allocations: 0 / 0.519 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.722e-05/0.3368, allocations: 0 / 0.519 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.337, allocations: 14.33 kB / 0.519 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.297e-05/0.3371, allocations: 16.34 kB / 0.519 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.3371, allocations: 3.516 kB / 0.519 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.277e-05/0.3372, allocations: 2.453 kB / 0.519 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.3372, allocations: 16.83 kB / 0.5191 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3372, allocations: 1.219 kB / 0.5191 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.665e-05/0.3373, allocations: 32.28 kB / 0.5191 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.3374, allocations: 0.6562 kB / 0.5191 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.3374, allocations: 7.703 kB / 0.5191 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.443e-05/0.3375, allocations: 19.83 kB / 0.5191 GB, free: 2.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3375, allocations: 3.938 kB / 0.5191 GB, free: 2.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3375, allocations: 0 / 0.5191 GB, free: 2.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3375, allocations: 4 kB / 0.5191 GB, free: 2.859 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.0003005/0.3378, allocations: 330.3 kB / 0.5194 GB, free: 2.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3379, allocations: 9.656 kB / 0.5194 GB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.3379, allocations: 35.55 kB / 0.5195 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.3379, allocations: 6.484 kB / 0.5195 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.057e-05/0.338, allocations: 167.1 kB / 0.5196 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.338, allocations: 1.812 kB / 0.5196 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.338, allocations: 1.438 kB / 0.5196 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.3381, allocations: 55.8 kB / 0.5197 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3381, allocations: 3.938 kB / 0.5197 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.3382, allocations: 0.9062 kB / 0.5197 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3382, allocations: 1.375 kB / 0.5197 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.39e-05/0.3382, allocations: 16.59 kB / 0.5197 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.3384, allocations: 321.4 kB / 0.52 GB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.831e-05/0.3385, allocations: 33.2 kB / 0.5201 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.3385, allocations: 16 kB / 0.5201 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.3386, allocations: 2.016 kB / 0.5201 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.3386, allocations: 35.31 kB / 0.5201 GB, free: 1.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.3386, allocations: 1.312 kB / 0.5201 GB, free: 1.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001757/0.3388, allocations: 53.61 kB / 0.5202 GB, free: 1.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.3388, allocations: 56.47 kB / 0.5202 GB, free: 1.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.604e-05/0.3389, allocations: 97.16 kB / 0.5203 GB, free: 1.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.121e-06/0.3389, allocations: 26.8 kB / 0.5203 GB, free: 1.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.3389, allocations: 85.84 kB / 0.5204 GB, free: 1.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.568e-06/0.3389, allocations: 14.2 kB / 0.5204 GB, free: 1.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.3389, allocations: 19.09 kB / 0.5204 GB, free: 1.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.908e-05/0.339, allocations: 316.2 kB / 0.5208 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.339, allocations: 5.812 kB / 0.5208 GB, free: 1.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/0.339, allocations: 29.84 kB / 0.5208 GB, free: 1.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.653e-05/0.3391, allocations: 31.88 kB / 0.5208 GB, free: 1.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3391, allocations: 5.094 kB / 0.5208 GB, free: 1.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.932e-05/0.3392, allocations: 61.58 kB / 0.5209 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.3392, allocations: 5.938 kB / 0.5209 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3392, allocations: 1.906 kB / 0.5209 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3392, allocations: 240 / 0.5209 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.711e-05/0.3393, allocations: 12.66 kB / 0.5209 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3393, allocations: 1.156 kB / 0.5209 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.3393, allocations: 1.188 kB / 0.5209 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.3393, allocations: 1.688 kB / 0.5209 GB, free: 0.9648 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.167e-05/0.3394, allocations: 112.9 kB / 0.521 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.3394, allocations: 9.234 kB / 0.521 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.3395, allocations: 61.14 kB / 0.5211 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3395, allocations: 0.6562 kB / 0.5211 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3395, allocations: 5.281 kB / 0.5211 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3395, allocations: 0.8438 kB / 0.5211 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.3397, allocations: 162.5 kB / 0.5212 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3397, allocations: 0 / 0.5212 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.3397, allocations: 7.984 kB / 0.5212 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3397, allocations: 1.219 kB / 0.5212 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.3397, allocations: 4.703 kB / 0.5213 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3397, allocations: 1.156 kB / 0.5213 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.3397, allocations: 0 / 0.5213 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.819e-05/0.3398, allocations: 160.5 kB / 0.5214 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.3399, allocations: 83.28 kB / 0.5215 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.3399, allocations: 1.281 kB / 0.5215 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.3399, allocations: 0 / 0.5215 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.34, allocations: 8.391 kB / 0.5215 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.34, allocations: 5.156 kB / 0.5215 GB, free: 332 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.625e-05/0.34, allocations: 78.22 kB / 0.5216 GB, free: 256 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.34, allocations: 0 / 0.5216 GB, free: 256 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.3402, allocations: 4.688 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.0004021/0.3406, allocations: 0.6892 MB / 0.5223 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.3407, allocations: 29.36 kB / 0.5223 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3407, allocations: 1.188 kB / 0.5223 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.3408, allocations: 10.77 kB / 0.5223 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.341, allocations: 13.38 kB / 0.5223 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.3413, allocations: 136.1 kB / 0.5224 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.3417, allocations: 0.6804 MB / 0.5231 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.793e-05/0.3417, allocations: 2.266 kB / 0.5231 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.3417, allocations: 11.55 kB / 0.5231 GB, free: 14.69 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3417, allocations: 0 / 0.5231 GB, free: 14.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.3632, allocations: 1.295 MB / 0.5244 GB, free: 14.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.102, allocations: 5.812 kB / 0.5244 GB, free: 14.33 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