Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_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.0008323/0.0008323, allocations: 95.66 kB / 17.35 MB, free: 6.375 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.0009142/0.0009143, allocations: 176.5 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.3 MB / 242.3 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.199/0.199, allocations: 44.26 MB / 337.7 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002671, allocations: 11.98 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.09094, allocations: 61.93 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.000525/0.09149, allocations: 266.7 kB / 472.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006792/0.09219, allocations: 432.6 kB / 473 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.09221, allocations: 0 / 473 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.071e-05/0.09223, allocations: 0 / 473 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.029e-05/0.09226, allocations: 0 / 473 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.0926, allocations: 103.8 kB / 473.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.541e-05/0.09265, allocations: 23.98 kB / 473.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.0927, allocations: 7.984 kB / 473.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.09273, allocations: 15.88 kB / 473.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.09278, allocations: 15.92 kB / 473.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.0928, allocations: 4 kB / 473.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.09302, allocations: 159.8 kB / 473.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.09304, allocations: 15.91 kB / 473.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.09309, allocations: 41.64 kB / 473.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.09326, allocations: 131.7 kB / 473.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.09327, allocations: 0 / 473.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09328, allocations: 0 / 473.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.09329, allocations: 0 / 473.5 MB, free: 12.02 MB / 350.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.0003144/0.09361, allocations: 358 kB / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.09365, allocations: 12.03 kB / 473.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.802e-05/0.09368, allocations: 34.75 kB / 473.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.09371, allocations: 8.844 kB / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.449e-05/0.09381, allocations: 168.3 kB / 474.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.09383, allocations: 8.359 kB / 474.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.09385, allocations: 8.375 kB / 474.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.09397, allocations: 61.98 kB / 474.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.09399, allocations: 7.906 kB / 474.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.094, allocations: 4 kB / 474.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.09401, allocations: 3.938 kB / 474.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.198e-05/0.09409, allocations: 43.95 kB / 474.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.09425, allocations: 177.7 kB / 474.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.09438, allocations: 93.61 kB / 474.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.09443, allocations: 24.86 kB / 474.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.09468, allocations: 117 kB / 474.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.09471, allocations: 38.5 kB / 474.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.09472, allocations: 3.938 kB / 474.7 MB, free: 10.68 MB / 350.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.132/0.2267, allocations: 5.83 MB / 480.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.2267, allocations: 59.41 kB / 480.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.546e-05/0.2268, allocations: 93.86 kB / 480.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.2268, allocations: 29.7 kB / 480.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.2269, allocations: 84.52 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/0.227, allocations: 78.78 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.227, allocations: 25.7 kB / 480.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2271, allocations: 318.8 kB / 481.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.2275, allocations: 140 kB / 481.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.2278, allocations: 139.9 kB / 481.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.2292, allocations: 368.2 kB / 481.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2292, allocations: 0 / 481.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001155/0.2304, allocations: 401.1 kB / 482.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2304, allocations: 12 kB / 482.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2304, allocations: 3.938 kB / 482.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2304, allocations: 0 / 482.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.2308, allocations: 91.91 kB / 482.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.2308, allocations: 7.984 kB / 482.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.231, allocations: 43.91 kB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.231, allocations: 11.98 kB / 482.4 MB, free: 2.891 MB / 350.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 9.301e-05/0.2311, allocations: 121.8 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.2312, allocations: 11.91 kB / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.2326, allocations: 484 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2326, allocations: 4 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2326, allocations: 0 / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.2326, allocations: 7.922 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.2347, allocations: 0.864 MB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2348, allocations: 4.062 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.235, allocations: 87.92 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2351, allocations: 0 / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.2351, allocations: 11.98 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2351, allocations: 7.938 kB / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2351, allocations: 4 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.2362, allocations: 464.7 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.2363, allocations: 89 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.2363, allocations: 12 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.2365, allocations: 35.97 kB / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.2365, allocations: 7.984 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.2366, allocations: 23.98 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.742e-05/0.2366, allocations: 79.22 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2366, allocations: 3.938 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.001371/0.238, allocations: 0.6289 MB / 485.3 MB, free: 15.84 MB / 366.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.004097/0.2421, allocations: 1.196 MB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007729/0.2429, allocations: 317.2 kB / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2429, allocations: 0 / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.2432, allocations: 159.9 kB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.2435, allocations: 11.94 kB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.2451, allocations: 0.5064 MB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.2454, allocations: 0.6933 MB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002904/0.2457, allocations: 81.08 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.2458, allocations: 55.39 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2458, allocations: 0 / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.272/3.517, allocations: 54.82 MB / 0.5304 GB, free: 31.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/3.518, allocations: 218.8 kB / 0.5306 GB, free: 31.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/5.886, allocations: 0 / 0.5306 GB, free: 31.21 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches