Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_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.001362/0.001362, allocations: 110.9 kB / 16.41 MB, free: 6.5 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.001357/0.001357, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1933/0.1933, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 71.89 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.0974, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001659/0.0991, allocations: 0.5261 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007254/0.09984, allocations: 417.5 kB / 0.4883 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.09989, allocations: 0 / 0.4883 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.09991, allocations: 0 / 0.4883 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.375e-05/0.09995, allocations: 3.938 kB / 0.4883 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.1005, allocations: 139.6 kB / 0.4884 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.018e-05/0.1005, allocations: 27.98 kB / 0.4885 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.1006, allocations: 0 / 0.4885 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.497e-05/0.1006, allocations: 19.92 kB / 0.4885 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.1007, allocations: 23.91 kB / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1007, allocations: 0 / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.101, allocations: 167.8 kB / 0.4887 GB, free: 11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.101, allocations: 7.938 kB / 0.4887 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.101, allocations: 15.92 kB / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.1012, allocations: 135.6 kB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1013, allocations: 0 / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1013, allocations: 0 / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1013, allocations: 0 / 0.4888 GB, free: 10.84 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.0003916/0.1017, allocations: 375.1 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1017, allocations: 15.83 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.1017, allocations: 38.69 kB / 0.4892 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.1018, allocations: 12.89 kB / 0.4892 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1019, allocations: 160.4 kB / 0.4894 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.1019, allocations: 4.375 kB / 0.4894 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.1019, allocations: 12.36 kB / 0.4894 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1021, allocations: 61.98 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1021, allocations: 7.953 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1021, allocations: 4 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1021, allocations: 4 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.799e-05/0.1022, allocations: 47.89 kB / 0.4895 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1024, allocations: 173.6 kB / 0.4897 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1025, allocations: 90.66 kB / 0.4898 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.1026, allocations: 28.86 kB / 0.4898 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/0.1029, allocations: 109 kB / 0.4899 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1029, allocations: 38.5 kB / 0.49 GB, free: 9.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.1029, allocations: 0 / 0.49 GB, free: 9.492 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.1312/0.2341, allocations: 5.628 MB / 0.4955 GB, free: 3.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.2342, allocations: 51.41 kB / 0.4955 GB, free: 3.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.801e-05/0.2343, allocations: 93.86 kB / 0.4956 GB, free: 3.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.2343, allocations: 29.7 kB / 0.4956 GB, free: 3.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.2344, allocations: 80.52 kB / 0.4957 GB, free: 3.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.2345, allocations: 79.31 kB / 0.4958 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2346, allocations: 61.67 kB / 0.4958 GB, free: 3.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2347, allocations: 322.9 kB / 0.4961 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.235, allocations: 111.9 kB / 0.4962 GB, free: 2.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.2354, allocations: 123.8 kB / 0.4964 GB, free: 2.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.2368, allocations: 316.6 kB / 0.4967 GB, free: 2.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2368, allocations: 0 / 0.4967 GB, free: 2.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001194/0.238, allocations: 361.6 kB / 0.497 GB, free: 2.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2381, allocations: 8 kB / 0.497 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2381, allocations: 4 kB / 0.497 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2381, allocations: 0 / 0.497 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.2385, allocations: 83.91 kB / 0.4971 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.2385, allocations: 0 / 0.4971 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.2387, allocations: 23.91 kB / 0.4971 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.2387, allocations: 19.98 kB / 0.4971 GB, free: 2.035 MB / 382.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.0001077/0.2388, allocations: 129.7 kB / 0.4973 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.2389, allocations: 11.94 kB / 0.4973 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.2402, allocations: 425.8 kB / 0.4977 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2403, allocations: 7.938 kB / 0.4977 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2403, allocations: 0 / 0.4977 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.2403, allocations: 7.922 kB / 0.4977 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.2425, allocations: 0.7767 MB / 0.4985 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2425, allocations: 0 / 0.4985 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.2427, allocations: 75.92 kB / 0.4985 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.2428, allocations: 7.938 kB / 0.4985 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.2428, allocations: 16.05 kB / 0.4986 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2428, allocations: 0 / 0.4986 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2428, allocations: 3.938 kB / 0.4986 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.2439, allocations: 420.8 kB / 0.499 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.244, allocations: 93.05 kB / 0.499 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.244, allocations: 8 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2442, allocations: 23.97 kB / 0.4991 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.2442, allocations: 15.98 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.2443, allocations: 11.98 kB / 0.4991 GB, free: 15.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.894e-05/0.2443, allocations: 79.28 kB / 0.4992 GB, free: 15.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2443, allocations: 0 / 0.4992 GB, free: 15.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001552/0.2459, allocations: 0.6284 MB / 0.4998 GB, free: 15.19 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.004655/0.2505, allocations: 1.151 MB / 0.5009 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000791/0.2514, allocations: 267.7 kB / 0.5012 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2514, allocations: 0 / 0.5012 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.2517, allocations: 127.8 kB / 0.5013 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.252, allocations: 8 kB / 0.5013 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.2538, allocations: 432.9 kB / 0.5017 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.2541, allocations: 0.7009 MB / 0.5024 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002215/0.2544, allocations: 73.08 kB / 0.5025 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.2545, allocations: 51.39 kB / 0.5025 GB, free: 12.29 MB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2545, allocations: 4 kB / 0.5025 GB, free: 12.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2817/0.5362, allocations: 55.05 MB / 0.5563 GB, free: 25.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.211, allocations: 8.906 kB / 0.5563 GB, free: 25.34 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches