Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008372/0.0008372, allocations: 172.8 kB / 16.72 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007187/0.0007188, allocations: 89.41 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3147/0.3147, allocations: 43.56 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 12 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.09967, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0005708/0.1003, allocations: 268.4 kB / 491.2 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006273/0.1009, allocations: 386 kB / 491.6 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.101, allocations: 0 / 491.6 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.618e-06/0.101, allocations: 0 / 491.6 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.313e-05/0.101, allocations: 0 / 491.6 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.1014, allocations: 103.8 kB / 491.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.461e-05/0.1014, allocations: 31.91 kB / 491.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.1015, allocations: 4 kB / 491.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.1015, allocations: 19.92 kB / 491.7 MB, free: 9.992 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.125e-05/0.1016, allocations: 19.91 kB / 491.7 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1016, allocations: 4 kB / 491.7 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.1018, allocations: 143.8 kB / 491.9 MB, free: 9.828 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.1018, allocations: 19.91 kB / 491.9 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.1019, allocations: 41.58 kB / 491.9 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.102, allocations: 79.88 kB / 492 MB, free: 9.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.102, allocations: 0 / 492 MB, free: 9.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.102, allocations: 0 / 492 MB, free: 9.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.102, allocations: 0 / 492 MB, free: 9.684 MB / 378.7 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.0003261/0.1024, allocations: 359.7 kB / 492.4 MB, free: 9.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1024, allocations: 8.031 kB / 492.4 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.1024, allocations: 38.75 kB / 492.4 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.1025, allocations: 8.844 kB / 492.4 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.934e-05/0.1026, allocations: 172.2 kB / 492.6 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1026, allocations: 4.375 kB / 492.6 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1026, allocations: 12.38 kB / 492.6 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.1027, allocations: 65.98 kB / 492.7 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1028, allocations: 0 / 492.7 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1028, allocations: 4 kB / 492.7 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.1028, allocations: 4 kB / 492.7 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.916e-05/0.1029, allocations: 43.95 kB / 492.7 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.103, allocations: 177.6 kB / 492.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1032, allocations: 90.42 kB / 493 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/0.1032, allocations: 24.86 kB / 493 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/0.1035, allocations: 121 kB / 493.1 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1035, allocations: 38.48 kB / 493.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1035, allocations: 0 / 493.2 MB, free: 8.348 MB / 378.7 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.121/0.2245, allocations: 5.829 MB / 499 MB, free: 2.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.2246, allocations: 55.41 kB / 499 MB, free: 2.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.2246, allocations: 89.86 kB / 499.1 MB, free: 2.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.2247, allocations: 29.7 kB / 499.2 MB, free: 2.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.2247, allocations: 84.52 kB / 499.2 MB, free: 2.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.806e-05/0.2248, allocations: 78.84 kB / 499.3 MB, free: 2.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.2248, allocations: 128 / 499.3 MB, free: 2.113 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.2249, allocations: 334.7 kB / 499.6 MB, free: 1.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.2253, allocations: 135.8 kB / 499.8 MB, free: 1.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.2256, allocations: 139.9 kB / 499.9 MB, free: 1.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.227, allocations: 369 kB / 0.4886 GB, free: 1.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.227, allocations: 4 kB / 0.4886 GB, free: 1.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001139/0.2281, allocations: 397 kB / 0.4889 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2282, allocations: 4 kB / 0.4889 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2282, allocations: 3.984 kB / 0.4889 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2282, allocations: 4 kB / 0.4889 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.2286, allocations: 95.86 kB / 0.489 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2286, allocations: 0 / 0.489 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.2288, allocations: 43.91 kB / 0.4891 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.2289, allocations: 23.97 kB / 0.4891 GB, free: 0.5742 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.664e-05/0.229, allocations: 117.8 kB / 0.4892 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.229, allocations: 7.906 kB / 0.4892 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1713/0.4003, allocations: 468.8 kB / 0.4897 GB, free: 41.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.4003, allocations: 3.719 kB / 0.4897 GB, free: 41.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4004, allocations: 0.5938 kB / 0.4897 GB, free: 41.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.4004, allocations: 3.875 kB / 0.4897 GB, free: 41.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.4027, allocations: 0.8656 MB / 0.4905 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4027, allocations: 1.094 kB / 0.4905 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.403, allocations: 91.27 kB / 0.4906 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.403, allocations: 2.219 kB / 0.4906 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.403, allocations: 14.28 kB / 0.4906 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4031, allocations: 5.281 kB / 0.4906 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4031, allocations: 1.031 kB / 0.4906 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.4042, allocations: 467.4 kB / 0.4911 GB, free: 41.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.4042, allocations: 86.89 kB / 0.4912 GB, free: 41.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.4043, allocations: 12.31 kB / 0.4912 GB, free: 41.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.4045, allocations: 35.95 kB / 0.4912 GB, free: 41.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.4045, allocations: 19.38 kB / 0.4912 GB, free: 41.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.4045, allocations: 21.59 kB / 0.4912 GB, free: 41.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.95e-05/0.4046, allocations: 78.5 kB / 0.4913 GB, free: 41.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4046, allocations: 0 / 0.4913 GB, free: 41.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001548/0.4061, allocations: 0.6248 MB / 0.4919 GB, free: 41.16 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004091/0.4102, allocations: 1.205 MB / 0.4931 GB, free: 40.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008077/0.411, allocations: 307.8 kB / 0.4934 GB, free: 40.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4111, allocations: 0.625 kB / 0.4934 GB, free: 40.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.4114, allocations: 157.1 kB / 0.4935 GB, free: 40.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.4117, allocations: 14.88 kB / 0.4936 GB, free: 40.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.4133, allocations: 0.5074 MB / 0.4941 GB, free: 40.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.4135, allocations: 0.6989 MB / 0.4947 GB, free: 39.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.4136, allocations: 59 kB / 0.4948 GB, free: 39.52 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4136, allocations: 0 / 0.4948 GB, free: 39.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.169/5.583, allocations: 13.98 MB / 0.5085 GB, free: 38.6 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches