Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001766, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2039/0.2039, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 79.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3607, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001515/0.3622, allocations: 0.5266 MB / 0.531 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000734/0.363, allocations: 410.5 kB / 0.5314 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.363, allocations: 0 / 0.5314 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.3631, allocations: 5.375 kB / 0.5314 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.557e-05/0.3631, allocations: 0 / 0.5314 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.3636, allocations: 141.6 kB / 0.5316 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.263e-05/0.3636, allocations: 37.22 kB / 0.5316 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.3637, allocations: 3.906 kB / 0.5316 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.593e-05/0.3637, allocations: 14.81 kB / 0.5316 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.3638, allocations: 22.19 kB / 0.5316 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3638, allocations: 2.406 kB / 0.5316 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.3641, allocations: 157.3 kB / 0.5318 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.3641, allocations: 9.891 kB / 0.5318 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.3641, allocations: 17.84 kB / 0.5318 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.3643, allocations: 130.5 kB / 0.5319 GB, free: 12.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3643, allocations: 5.438 kB / 0.5319 GB, free: 12.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3644, allocations: 4 kB / 0.5319 GB, free: 12.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.3644, allocations: 0 / 0.5319 GB, free: 12.37 MB / 398.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.0004294/0.3648, allocations: 366.2 kB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3649, allocations: 8.625 kB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/0.3649, allocations: 37.16 kB / 0.5323 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.3649, allocations: 11.47 kB / 0.5323 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3651, allocations: 162.3 kB / 0.5325 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3651, allocations: 6.5 kB / 0.5325 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.3651, allocations: 8.969 kB / 0.5325 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.3653, allocations: 70.61 kB / 0.5326 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3653, allocations: 9.047 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3653, allocations: 5.078 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3653, allocations: 5.219 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.834e-05/0.3654, allocations: 41.5 kB / 0.5326 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.3656, allocations: 182.1 kB / 0.5328 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.3658, allocations: 83.58 kB / 0.5329 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.3658, allocations: 30.78 kB / 0.5329 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.3661, allocations: 103.2 kB / 0.533 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.3661, allocations: 39.66 kB / 0.5331 GB, free: 11.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.3662, allocations: 1.344 kB / 0.5331 GB, free: 11.21 MB / 398.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.1303/0.4964, allocations: 5.611 MB / 0.5385 GB, free: 8.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.4965, allocations: 57.89 kB / 0.5386 GB, free: 8.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.259e-05/0.4966, allocations: 95.17 kB / 0.5387 GB, free: 7.961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.4966, allocations: 27.3 kB / 0.5387 GB, free: 7.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.4967, allocations: 88.45 kB / 0.5388 GB, free: 7.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/0.4968, allocations: 79.86 kB / 0.5389 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.4969, allocations: 59.48 kB / 0.5389 GB, free: 7.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.497, allocations: 324.8 kB / 0.5392 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.4974, allocations: 110 kB / 0.5393 GB, free: 7.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.4977, allocations: 114.3 kB / 0.5395 GB, free: 7.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.4992, allocations: 328.1 kB / 0.5398 GB, free: 7.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4992, allocations: 0 / 0.5398 GB, free: 7.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001197/0.5004, allocations: 354.2 kB / 0.5401 GB, free: 6.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5004, allocations: 9.016 kB / 0.5401 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5004, allocations: 0 / 0.5401 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5005, allocations: 1.219 kB / 0.5401 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.5008, allocations: 75.36 kB / 0.5402 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.5009, allocations: 1.094 kB / 0.5402 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.5011, allocations: 36.78 kB / 0.5402 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.5011, allocations: 18.78 kB / 0.5402 GB, free: 6.941 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.0001378/0.5012, allocations: 117.7 kB / 0.5404 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.5013, allocations: 7.609 kB / 0.5404 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.5027, allocations: 430.7 kB / 0.5408 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.5027, allocations: 3.344 kB / 0.5408 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5027, allocations: 3.938 kB / 0.5408 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5027, allocations: 3.938 kB / 0.5408 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.5049, allocations: 0.7859 MB / 0.5416 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5049, allocations: 1.031 kB / 0.5416 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.5052, allocations: 76.89 kB / 0.5416 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.5052, allocations: 6.156 kB / 0.5416 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.5053, allocations: 16.17 kB / 0.5416 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5053, allocations: 0.9062 kB / 0.5416 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5053, allocations: 1.312 kB / 0.5416 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.5064, allocations: 428.9 kB / 0.5421 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.5065, allocations: 89 kB / 0.5421 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.5065, allocations: 8 kB / 0.5422 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.5067, allocations: 23.97 kB / 0.5422 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.5067, allocations: 19.97 kB / 0.5422 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.5068, allocations: 15.94 kB / 0.5422 GB, free: 5.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.662e-05/0.5068, allocations: 79.27 kB / 0.5423 GB, free: 5.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5068, allocations: 0 / 0.5423 GB, free: 5.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001633/0.5085, allocations: 0.6246 MB / 0.5429 GB, free: 4.707 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.004436/0.5129, allocations: 1.143 MB / 0.544 GB, free: 3.531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000856/0.5138, allocations: 267.5 kB / 0.5443 GB, free: 3.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5138, allocations: 0 / 0.5443 GB, free: 3.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.5142, allocations: 127.9 kB / 0.5444 GB, free: 3.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.5144, allocations: 18.97 kB / 0.5444 GB, free: 3.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.5162, allocations: 428.4 kB / 0.5448 GB, free: 2.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.5165, allocations: 0.697 MB / 0.5455 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002305/0.5167, allocations: 77.08 kB / 0.5456 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.5169, allocations: 59.33 kB / 0.5456 GB, free: 1.797 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5169, allocations: 0 / 0.5456 GB, free: 1.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08226/0.5992, allocations: 55.06 MB / 0.5994 GB, free: 10.76 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.507, allocations: 15.66 kB / 0.5994 GB, free: 10.74 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches