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.001282/0.001282, allocations: 111.4 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.001278/0.001278, 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.213/0.213, 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.002061/0.002061, allocations: 67.89 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1211, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001664/0.1228, allocations: 0.5339 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008068/0.1236, allocations: 417.5 kB / 0.4883 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.1237, allocations: 0 / 0.4883 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.1237, allocations: 0 / 0.4883 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.284e-05/0.1237, allocations: 3.938 kB / 0.4883 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.1242, allocations: 135.6 kB / 0.4884 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.1243, allocations: 31.97 kB / 0.4885 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.803e-05/0.1244, allocations: 3.984 kB / 0.4885 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.1244, allocations: 15.94 kB / 0.4885 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.1245, allocations: 23.91 kB / 0.4885 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1245, allocations: 3.938 kB / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.1248, allocations: 159.8 kB / 0.4887 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.1248, allocations: 11.94 kB / 0.4887 GB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.1248, allocations: 15.92 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.1251, allocations: 135.6 kB / 0.4888 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1251, allocations: 0 / 0.4888 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1251, allocations: 0 / 0.4888 GB, free: 10.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1251, allocations: 0 / 0.4888 GB, free: 10.85 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.000449/0.1255, allocations: 378.5 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1256, allocations: 19.83 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.1256, allocations: 34.75 kB / 0.4892 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.1257, allocations: 8.891 kB / 0.4892 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1258, allocations: 160.4 kB / 0.4894 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1258, allocations: 4.375 kB / 0.4894 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.1259, allocations: 12.36 kB / 0.4894 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.126, allocations: 61.98 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.126, allocations: 7.953 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.126, allocations: 4 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.126, allocations: 4 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.229e-05/0.1261, allocations: 51.89 kB / 0.4895 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.1263, allocations: 173.6 kB / 0.4897 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.1265, allocations: 90.66 kB / 0.4898 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.1266, allocations: 24.86 kB / 0.4898 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.1268, allocations: 109.1 kB / 0.4899 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.1269, allocations: 34.5 kB / 0.49 GB, free: 9.508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.1269, allocations: 0 / 0.49 GB, free: 9.508 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.1355/0.2624, allocations: 5.626 MB / 0.4954 GB, free: 3.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.2625, allocations: 51.41 kB / 0.4955 GB, free: 3.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/0.2626, allocations: 93.86 kB / 0.4956 GB, free: 3.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.2626, allocations: 29.7 kB / 0.4956 GB, free: 3.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.2627, allocations: 80.52 kB / 0.4957 GB, free: 3.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.708e-05/0.2627, allocations: 79.31 kB / 0.4958 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.2629, allocations: 61.67 kB / 0.4958 GB, free: 3.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.263, allocations: 322.9 kB / 0.4961 GB, free: 3.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.2634, allocations: 111.9 kB / 0.4962 GB, free: 2.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.2638, allocations: 115.8 kB / 0.4964 GB, free: 2.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.2652, allocations: 320.6 kB / 0.4967 GB, free: 2.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2652, allocations: 4 kB / 0.4967 GB, free: 2.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001227/0.2665, allocations: 357.6 kB / 0.497 GB, free: 2.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2665, allocations: 11.28 kB / 0.497 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2665, allocations: 4 kB / 0.497 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2665, allocations: 3.984 kB / 0.497 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.2669, allocations: 83.91 kB / 0.4971 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2669, allocations: 0 / 0.4971 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.2671, allocations: 27.91 kB / 0.4971 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.2672, allocations: 19.98 kB / 0.4971 GB, free: 2.043 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.0001276/0.2673, allocations: 129.7 kB / 0.4973 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.2674, allocations: 11.94 kB / 0.4973 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.2688, allocations: 433.7 kB / 0.4977 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2688, allocations: 4 kB / 0.4977 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.2688, allocations: 0 / 0.4977 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2689, allocations: 7.922 kB / 0.4977 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.2712, allocations: 0.7728 MB / 0.4985 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2712, allocations: 0 / 0.4985 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.2715, allocations: 75.86 kB / 0.4985 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.2715, allocations: 0 / 0.4985 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.2716, allocations: 20.05 kB / 0.4986 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.2716, allocations: 7.938 kB / 0.4986 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2716, allocations: 0 / 0.4986 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.2728, allocations: 420.8 kB / 0.499 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.2729, allocations: 89.05 kB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.2729, allocations: 4 kB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.2731, allocations: 27.97 kB / 0.4991 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.2731, allocations: 15.98 kB / 0.4991 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.2732, allocations: 15.98 kB / 0.4991 GB, free: 15.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.307e-05/0.2732, allocations: 79.28 kB / 0.4992 GB, free: 15.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2732, allocations: 0 / 0.4992 GB, free: 15.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001592/0.2748, allocations: 0.6284 MB / 0.4998 GB, free: 15.2 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.004469/0.2793, allocations: 1.151 MB / 0.5009 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008561/0.2802, allocations: 267.7 kB / 0.5012 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2802, allocations: 0 / 0.5012 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003677/0.2806, allocations: 123.8 kB / 0.5013 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.2808, allocations: 12 kB / 0.5013 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.2825, allocations: 428.9 kB / 0.5017 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.2829, allocations: 0.7009 MB / 0.5024 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.2831, 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.00015/0.2833, allocations: 59.39 kB / 0.5025 GB, free: 12.29 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2833, allocations: 0 / 0.5025 GB, free: 12.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3203/0.6036, allocations: 55.04 MB / 0.5563 GB, free: 25.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.743, allocations: 13.05 kB / 0.5563 GB, free: 25.41 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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.mat","/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