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.001575/0.001576, allocations: 111.1 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.001775/0.001775, allocations: 180.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.301/1.301, 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.1948/0.1948, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3736, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002251/0.3759, allocations: 0.5384 MB / 0.5189 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.377, allocations: 410.8 kB / 0.5193 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.377, allocations: 0 / 0.5193 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.3771, allocations: 5.781 kB / 0.5193 GB, free: 2.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.887e-05/0.3771, allocations: 0 / 0.5193 GB, free: 2.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.3777, allocations: 133.9 kB / 0.5195 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.243e-05/0.3778, allocations: 31.28 kB / 0.5195 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/0.3778, allocations: 3.938 kB / 0.5195 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.375e-05/0.3779, allocations: 20.23 kB / 0.5195 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.378, allocations: 22.91 kB / 0.5195 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.378, allocations: 2.25 kB / 0.5195 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.3783, allocations: 157.2 kB / 0.5197 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.3784, allocations: 11.88 kB / 0.5197 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.3784, allocations: 17.58 kB / 0.5197 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.3787, allocations: 124 kB / 0.5198 GB, free: 2.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.3787, allocations: 0.75 kB / 0.5198 GB, free: 2.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.3787, allocations: 3.938 kB / 0.5198 GB, free: 2.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.3788, allocations: 5.062 kB / 0.5199 GB, free: 2.484 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.0005016/0.3793, allocations: 374.1 kB / 0.5202 GB, free: 2.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.3793, allocations: 9.031 kB / 0.5202 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.3794, allocations: 38.53 kB / 0.5203 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.3794, allocations: 2.969 kB / 0.5203 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.3795, allocations: 162.9 kB / 0.5204 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.3795, allocations: 11.53 kB / 0.5204 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.3796, allocations: 9.078 kB / 0.5204 GB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3797, allocations: 68.44 kB / 0.5205 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.3798, allocations: 5.797 kB / 0.5205 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3798, allocations: 0.8438 kB / 0.5205 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3798, allocations: 6.031 kB / 0.5205 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.3799, allocations: 40.44 kB / 0.5205 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.3801, allocations: 179.9 kB / 0.5207 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3803, allocations: 83.06 kB / 0.5208 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/0.3804, allocations: 35.64 kB / 0.5208 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.3806, allocations: 100.3 kB / 0.5209 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.3807, allocations: 40.88 kB / 0.521 GB, free: 1.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3807, allocations: 3.938 kB / 0.521 GB, free: 1.379 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.1294/0.5101, allocations: 5.61 MB / 0.5265 GB, free: 15.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.5102, allocations: 54.94 kB / 0.5265 GB, free: 14.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.5103, allocations: 95.22 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.5103, allocations: 31.02 kB / 0.5266 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.5104, allocations: 80.52 kB / 0.5267 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.001e-05/0.5105, allocations: 80.06 kB / 0.5268 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.5106, allocations: 59.89 kB / 0.5268 GB, free: 14.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5107, allocations: 324.2 kB / 0.5271 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.5111, allocations: 112.8 kB / 0.5273 GB, free: 14.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.5114, allocations: 115.9 kB / 0.5274 GB, free: 14.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.5128, allocations: 325.9 kB / 0.5277 GB, free: 14.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5129, allocations: 0 / 0.5277 GB, free: 14.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00121/0.5141, allocations: 361.7 kB / 0.528 GB, free: 13.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.5141, allocations: 4.875 kB / 0.528 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5141, allocations: 1.219 kB / 0.528 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.5141, allocations: 1.062 kB / 0.528 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/0.5145, allocations: 74.42 kB / 0.5281 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.5146, allocations: 5.141 kB / 0.5281 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.5148, allocations: 33.56 kB / 0.5281 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.5148, allocations: 13.55 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.000123/0.5149, allocations: 122 kB / 0.5283 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.515, allocations: 7.984 kB / 0.5283 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.5164, allocations: 438 kB / 0.5287 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.5164, allocations: 3 kB / 0.5287 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5164, allocations: 0 / 0.5287 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.5164, allocations: 7.922 kB / 0.5287 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.5186, allocations: 0.7896 MB / 0.5295 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5186, allocations: 0 / 0.5295 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.5189, allocations: 72.59 kB / 0.5295 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.5189, allocations: 2.281 kB / 0.5295 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.519, allocations: 16.27 kB / 0.5296 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.519, allocations: 5.219 kB / 0.5296 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.519, allocations: 1.219 kB / 0.5296 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.5202, allocations: 420.8 kB / 0.53 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.5202, allocations: 87.56 kB / 0.53 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.5203, allocations: 2.625 kB / 0.53 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.5205, allocations: 33.7 kB / 0.5301 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.5205, allocations: 10.64 kB / 0.5301 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.5205, allocations: 18.58 kB / 0.5301 GB, free: 12.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.843e-05/0.5206, allocations: 76.56 kB / 0.5302 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5206, allocations: 7.875 kB / 0.5302 GB, free: 12.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002175/0.5228, allocations: 0.6306 MB / 0.5308 GB, free: 12.36 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.004731/0.5275, allocations: 1.146 MB / 0.5319 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008398/0.5284, allocations: 259.2 kB / 0.5322 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5284, allocations: 0 / 0.5322 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.5287, allocations: 131.5 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.0002508/0.529, allocations: 11.5 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.001807/0.5308, allocations: 444.3 kB / 0.5327 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.5312, allocations: 0.6999 MB / 0.5334 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000264/0.5315, allocations: 80.92 kB / 0.5335 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.5316, allocations: 57.73 kB / 0.5335 GB, free: 10.2 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5316, allocations: 0 / 0.5335 GB, free: 10.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08384/0.6155, allocations: 55.06 MB / 0.5873 GB, free: 5.168 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.708, allocations: 19.12 kB / 0.5873 GB, free: 5.152 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