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.001193/0.001193, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001163/0.001163, allocations: 188.1 kB / 18.71 MB, free: 4.344 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.18 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.2018/0.2018, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3406, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001758/0.3424, allocations: 0.5385 MB / 0.5189 GB, free: 2.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007862/0.3432, allocations: 413.2 kB / 0.5193 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.3433, allocations: 1.25 kB / 0.5193 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.3433, allocations: 3.938 kB / 0.5193 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.781e-05/0.3433, allocations: 0 / 0.5193 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.3439, allocations: 139.8 kB / 0.5195 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.105e-05/0.344, allocations: 30.25 kB / 0.5195 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.344, allocations: 8.25 kB / 0.5195 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/0.3441, allocations: 14.61 kB / 0.5195 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.3441, allocations: 23.61 kB / 0.5195 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.3441, allocations: 2.094 kB / 0.5195 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.3444, allocations: 161 kB / 0.5197 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.3445, allocations: 8.969 kB / 0.5197 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.3445, allocations: 21.84 kB / 0.5197 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.3448, allocations: 128 kB / 0.5198 GB, free: 2.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3448, allocations: 0 / 0.5198 GB, free: 2.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.3448, allocations: 1.5 kB / 0.5198 GB, free: 2.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3448, allocations: 4 kB / 0.5199 GB, free: 2.477 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.0004034/0.3452, allocations: 358.3 kB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3453, allocations: 9.312 kB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.3453, allocations: 38.19 kB / 0.5202 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.3453, allocations: 11.69 kB / 0.5203 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.391e-05/0.3454, allocations: 162.1 kB / 0.5204 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3455, allocations: 7.812 kB / 0.5204 GB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.3455, allocations: 5.25 kB / 0.5204 GB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3457, allocations: 76.58 kB / 0.5205 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.3457, allocations: 9.844 kB / 0.5205 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3457, allocations: 0 / 0.5205 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.3457, allocations: 2.5 kB / 0.5205 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3458, allocations: 45.52 kB / 0.5205 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.346, allocations: 171.6 kB / 0.5207 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.3461, allocations: 90.36 kB / 0.5208 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.3462, allocations: 27.23 kB / 0.5208 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.3465, allocations: 109.1 kB / 0.5209 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.3465, allocations: 39.59 kB / 0.521 GB, free: 1.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3465, allocations: 0 / 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.1376/0.4842, allocations: 5.609 MB / 0.5264 GB, free: 15.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.4842, allocations: 53.97 kB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.845e-05/0.4843, allocations: 96.17 kB / 0.5266 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4843, allocations: 26.83 kB / 0.5266 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.4844, allocations: 84.52 kB / 0.5267 GB, free: 14.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/0.4845, allocations: 75.84 kB / 0.5268 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.4846, allocations: 62.83 kB / 0.5268 GB, free: 14.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4847, allocations: 320.9 kB / 0.5271 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.4851, allocations: 113.5 kB / 0.5272 GB, free: 14.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.4854, allocations: 119 kB / 0.5274 GB, free: 14.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.4869, allocations: 321.7 kB / 0.5277 GB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4869, allocations: 1.125 kB / 0.5277 GB, free: 14.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001232/0.4881, allocations: 361.7 kB / 0.528 GB, free: 13.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.4881, allocations: 4.938 kB / 0.528 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4881, allocations: 0 / 0.528 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4882, allocations: 1.156 kB / 0.528 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.4886, allocations: 79.25 kB / 0.5281 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.453e-06/0.4886, allocations: 5.344 kB / 0.5281 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.4888, allocations: 31.97 kB / 0.5281 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.4889, allocations: 15.64 kB / 0.5281 GB, free: 13.89 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.0001054/0.489, allocations: 120.4 kB / 0.5282 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.489, allocations: 9.188 kB / 0.5283 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.4904, allocations: 431.2 kB / 0.5287 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.4904, allocations: 2.906 kB / 0.5287 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4905, allocations: 3.984 kB / 0.5287 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4905, allocations: 3.938 kB / 0.5287 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.4927, allocations: 0.7742 MB / 0.5294 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4927, allocations: 0 / 0.5294 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.493, allocations: 81.52 kB / 0.5295 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.4931, allocations: 1.375 kB / 0.5295 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.4931, allocations: 16.11 kB / 0.5295 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.4931, allocations: 5.125 kB / 0.5295 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4931, allocations: 1.188 kB / 0.5295 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4943, allocations: 427.5 kB / 0.5299 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.4944, allocations: 87.41 kB / 0.53 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.4944, allocations: 2.781 kB / 0.53 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.4946, allocations: 28.41 kB / 0.5301 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.4946, allocations: 20.2 kB / 0.5301 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.4947, allocations: 14.11 kB / 0.5301 GB, free: 12.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.869e-05/0.4947, allocations: 76.59 kB / 0.5302 GB, free: 12.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4947, allocations: 3.938 kB / 0.5302 GB, free: 12.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001937/0.4967, allocations: 0.6303 MB / 0.5308 GB, free: 12.4 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.004696/0.5014, allocations: 1.139 MB / 0.5319 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008939/0.5023, allocations: 267.4 kB / 0.5321 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5023, allocations: 0 / 0.5321 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.5027, allocations: 127.4 kB / 0.5323 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.5029, allocations: 22.09 kB / 0.5323 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.5048, allocations: 430.5 kB / 0.5327 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.5051, allocations: 0.6988 MB / 0.5334 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002311/0.5053, allocations: 81.55 kB / 0.5335 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.5055, allocations: 57.45 kB / 0.5335 GB, free: 10.25 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5055, allocations: 0 / 0.5335 GB, free: 10.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08556/0.591, allocations: 55.13 MB / 0.5874 GB, free: 5.145 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.621, allocations: 11.5 kB / 0.5874 GB, free: 5.133 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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.mat","/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