Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",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.00123/0.00123, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.00155/0.00155, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.416/1.416, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2121/0.2121, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 67.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3172, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001454/0.3187, allocations: 0.5479 MB / 0.5189 GB, free: 2.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006496/0.3194, allocations: 403.5 kB / 0.5193 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.3194, allocations: 0.8125 kB / 0.5193 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.3195, allocations: 0 / 0.5193 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.897e-05/0.3195, allocations: 3.938 kB / 0.5193 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.3199, allocations: 145.7 kB / 0.5195 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.704e-05/0.32, allocations: 27.09 kB / 0.5195 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.3201, allocations: 7.844 kB / 0.5195 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.293e-05/0.3201, allocations: 13.03 kB / 0.5195 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.172e-05/0.3201, allocations: 21.55 kB / 0.5195 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.3202, allocations: 2.312 kB / 0.5195 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.3204, allocations: 161.1 kB / 0.5197 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.3205, allocations: 12.94 kB / 0.5197 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.3205, allocations: 18.06 kB / 0.5197 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.3207, allocations: 123.6 kB / 0.5198 GB, free: 2.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3207, allocations: 4 kB / 0.5198 GB, free: 2.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3207, allocations: 4 kB / 0.5199 GB, free: 2.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.3207, allocations: 1.5 kB / 0.5199 GB, free: 2.465 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003422/0.3211, allocations: 368 kB / 0.5202 GB, free: 2.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3211, allocations: 9.469 kB / 0.5202 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.732e-05/0.3212, allocations: 38.39 kB / 0.5202 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.3212, allocations: 7.844 kB / 0.5203 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.446e-05/0.3213, allocations: 163 kB / 0.5204 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3213, allocations: 6.656 kB / 0.5204 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.3213, allocations: 13.59 kB / 0.5204 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.3215, allocations: 76.73 kB / 0.5205 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3215, allocations: 1.188 kB / 0.5205 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3215, allocations: 1.062 kB / 0.5205 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.3215, allocations: 1.625 kB / 0.5205 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.061e-05/0.3216, allocations: 52.92 kB / 0.5206 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.3217, allocations: 176.3 kB / 0.5207 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.3219, allocations: 86.02 kB / 0.5208 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.3219, allocations: 31.2 kB / 0.5208 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.3222, allocations: 109 kB / 0.5209 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.3222, allocations: 37.02 kB / 0.521 GB, free: 1.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.3222, allocations: 0 / 0.521 GB, free: 1.359 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.132/0.4542, allocations: 5.6 MB / 0.5264 GB, free: 15.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.4543, allocations: 57.53 kB / 0.5265 GB, free: 14.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.561e-05/0.4544, allocations: 95.95 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.4544, allocations: 26.67 kB / 0.5266 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.4545, allocations: 84.64 kB / 0.5267 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.179e-05/0.4546, allocations: 83.91 kB / 0.5268 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.4547, allocations: 59.77 kB / 0.5268 GB, free: 14.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4549, allocations: 321.1 kB / 0.5271 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.4552, allocations: 116.8 kB / 0.5273 GB, free: 14.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/0.4556, allocations: 119.9 kB / 0.5274 GB, free: 14.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.457, allocations: 318.7 kB / 0.5277 GB, free: 14.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.457, allocations: 0 / 0.5277 GB, free: 14.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001188/0.4582, allocations: 362.6 kB / 0.528 GB, free: 13.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4583, allocations: 4.969 kB / 0.528 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.4583, allocations: 1.281 kB / 0.528 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4583, allocations: 0 / 0.528 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.4587, allocations: 79.34 kB / 0.5281 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4587, allocations: 0.875 kB / 0.5281 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.4589, allocations: 33.31 kB / 0.5281 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.4589, allocations: 14.02 kB / 0.5281 GB, free: 13.87 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * 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 0.0001146/0.459, allocations: 126 kB / 0.5283 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.4591, allocations: 7.672 kB / 0.5283 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.4605, allocations: 427 kB / 0.5287 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.4605, allocations: 7.172 kB / 0.5287 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4605, allocations: 0 / 0.5287 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4605, allocations: 3.938 kB / 0.5287 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.4627, allocations: 0.7815 MB / 0.5295 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4627, allocations: 1.5 kB / 0.5295 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.463, allocations: 76.86 kB / 0.5295 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.463, allocations: 1.094 kB / 0.5295 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.4631, allocations: 15.58 kB / 0.5295 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4631, allocations: 2.438 kB / 0.5295 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4631, allocations: 1.656 kB / 0.5295 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.4643, allocations: 434.6 kB / 0.53 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.4643, allocations: 84.19 kB / 0.53 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.4644, allocations: 10.09 kB / 0.5301 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.4646, allocations: 24.69 kB / 0.5301 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.4646, allocations: 16.11 kB / 0.5301 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.4646, allocations: 14.23 kB / 0.5301 GB, free: 12.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.916e-05/0.4647, allocations: 80.41 kB / 0.5302 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4647, allocations: 0 / 0.5302 GB, free: 12.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001801/0.4665, allocations: 0.6348 MB / 0.5308 GB, free: 12.37 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.004563/0.4711, allocations: 1.145 MB / 0.5319 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008435/0.4719, allocations: 265.9 kB / 0.5322 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4719, allocations: 0 / 0.5322 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.4723, allocations: 131.6 kB / 0.5323 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.4726, allocations: 12.53 kB / 0.5323 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.4744, allocations: 433.1 kB / 0.5327 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.4748, allocations: 0.7034 MB / 0.5334 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.475, allocations: 80.33 kB / 0.5335 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.4752, allocations: 58.08 kB / 0.5335 GB, free: 10.21 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4752, allocations: 0 / 0.5335 GB, free: 10.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09687/0.5721, allocations: 55.07 MB / 0.5873 GB, free: 5.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/8.886, allocations: 15.56 kB / 0.5873 GB, free: 5.145 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_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_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches