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.001146/0.001146, allocations: 110.5 kB / 16.41 MB, free: 6.496 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.001136/0.001136, 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.368/1.368, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.2127/0.2127, allocations: 43.52 MB / 314.1 MB, free: 464 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.001586/0.001586, allocations: 64.38 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1166, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001857/0.1185, allocations: 0.5335 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008848/0.1194, allocations: 421.5 kB / 0.4883 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.1195, allocations: 0 / 0.4883 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.1195, allocations: 0 / 0.4883 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.429e-05/0.1196, allocations: 3.938 kB / 0.4883 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.1202, allocations: 135.6 kB / 0.4884 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.731e-05/0.1202, allocations: 27.97 kB / 0.4885 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.1203, allocations: 7.984 kB / 0.4885 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.635e-05/0.1203, allocations: 11.94 kB / 0.4885 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.1204, allocations: 23.91 kB / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1204, allocations: 4 kB / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.1207, allocations: 167.8 kB / 0.4887 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.1207, allocations: 11.92 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.1208, allocations: 11.94 kB / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.121, allocations: 131.6 kB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.121, allocations: 0 / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.121, allocations: 0 / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1211, 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.0005019/0.1216, allocations: 379 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1216, allocations: 15.89 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.1217, allocations: 34.75 kB / 0.4892 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.1217, allocations: 8.891 kB / 0.4892 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.1218, allocations: 172.3 kB / 0.4894 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1218, allocations: 4.375 kB / 0.4894 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1219, allocations: 8.375 kB / 0.4894 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.122, allocations: 61.98 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.122, allocations: 3.953 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.122, allocations: 4 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1221, allocations: 4 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.939e-05/0.1221, allocations: 43.95 kB / 0.4895 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.1224, allocations: 173.6 kB / 0.4897 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.1225, allocations: 94.59 kB / 0.4898 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1227, allocations: 32.84 kB / 0.4898 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.1229, allocations: 101.1 kB / 0.4899 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.123, allocations: 38.5 kB / 0.49 GB, free: 9.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.123, allocations: 0 / 0.49 GB, free: 9.496 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.1317/0.2547, allocations: 5.623 MB / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.2548, allocations: 55.41 kB / 0.4955 GB, free: 3.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.2549, allocations: 89.86 kB / 0.4956 GB, free: 3.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.2549, allocations: 37.64 kB / 0.4956 GB, free: 3.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.255, allocations: 80.52 kB / 0.4957 GB, free: 3.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.2551, allocations: 79.31 kB / 0.4958 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.932e-05/0.2552, allocations: 57.67 kB / 0.4958 GB, free: 3.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2553, allocations: 330.9 kB / 0.4961 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.2557, allocations: 107.9 kB / 0.4962 GB, free: 2.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.256, allocations: 115.8 kB / 0.4964 GB, free: 2.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.2574, allocations: 320.6 kB / 0.4967 GB, free: 2.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2575, allocations: 0 / 0.4967 GB, free: 2.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001168/0.2586, allocations: 357.7 kB / 0.497 GB, free: 2.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2587, allocations: 4 kB / 0.497 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.2587, allocations: 4 kB / 0.497 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2587, allocations: 4 kB / 0.497 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.2591, allocations: 79.84 kB / 0.4971 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.2591, allocations: 4 kB / 0.4971 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.2593, allocations: 27.91 kB / 0.4971 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.2593, 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.0001229/0.2595, allocations: 129.7 kB / 0.4973 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.2595, allocations: 11.95 kB / 0.4973 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.2609, allocations: 425.8 kB / 0.4977 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.2609, allocations: 7.922 kB / 0.4977 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2609, allocations: 8 kB / 0.4977 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.261, allocations: 3.938 kB / 0.4977 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.2632, allocations: 0.7689 MB / 0.4985 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.2632, allocations: 4 kB / 0.4985 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.2635, allocations: 79.8 kB / 0.4985 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.2635, allocations: 0 / 0.4985 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.2635, allocations: 20.05 kB / 0.4986 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2636, allocations: 4 kB / 0.4986 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2636, allocations: 0 / 0.4986 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.2647, allocations: 428.7 kB / 0.499 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.2648, allocations: 85.06 kB / 0.499 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.2648, allocations: 4 kB / 0.499 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.265, allocations: 23.97 kB / 0.4991 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.2651, allocations: 15.98 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.2651, allocations: 15.98 kB / 0.4991 GB, free: 15.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.069e-05/0.2652, allocations: 75.28 kB / 0.4992 GB, free: 15.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2652, allocations: 0 / 0.4992 GB, free: 15.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001599/0.2668, allocations: 0.6324 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.004586/0.2714, allocations: 1.147 MB / 0.5009 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008263/0.2722, allocations: 267.7 kB / 0.5012 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2722, allocations: 0 / 0.5012 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.2726, 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.0002577/0.2729, allocations: 15.98 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.001832/0.2747, allocations: 421.4 kB / 0.5017 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.275, allocations: 0.697 MB / 0.5024 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.2753, allocations: 73.08 kB / 0.5025 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.2754, allocations: 63.39 kB / 0.5025 GB, free: 12.29 MB / 398.1 MB Notification: Performance of SimCode: time 6.02e-07/0.2754, allocations: 0 / 0.5025 GB, free: 12.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3082/0.5837, allocations: 55.05 MB / 0.5563 GB, free: 25.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.694, allocations: 11.91 kB / 0.5563 GB, free: 25.37 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