Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.001548/0.001548, allocations: 104.1 kB / 16.27 MB, free: 6.074 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.001542/0.001542, allocations: 190.8 kB / 17.2 MB, free: 5.707 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.443/1.443, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2085/0.2085, allocations: 43.51 MB / 313.9 MB, free: 0.5391 MB / 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.001566/0.001566, allocations: 70.81 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.127, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.002533/0.1296, allocations: 0.4991 MB / 441.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004283/0.1301, allocations: 87.72 kB / 441.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.1301, allocations: 0 / 441.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.1301, allocations: 0 / 441.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.971e-05/0.1302, allocations: 0 / 441.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.1305, allocations: 23.91 kB / 441.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.601e-05/0.1306, allocations: 8 kB / 441.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.152e-05/0.1307, allocations: 4 kB / 441.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.176e-05/0.1307, allocations: 15.86 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.946e-05/0.1308, allocations: 0 / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.1308, allocations: 4 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1309, allocations: 31.97 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.131, allocations: 15.91 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.131, allocations: 4 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1311, allocations: 23.91 kB / 441.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.1312, allocations: 0 / 441.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1312, allocations: 4 kB / 441.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1312, allocations: 0 / 441.3 MB, free: 6.086 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000506/0.1317, allocations: 335.7 kB / 441.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.1317, allocations: 11.89 kB / 441.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.1318, allocations: 30.75 kB / 441.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.1318, allocations: 4.938 kB / 441.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.1319, allocations: 164.3 kB / 441.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.132, allocations: 384 / 441.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.132, allocations: 8.375 kB / 441.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1321, allocations: 51.97 kB / 441.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1322, allocations: 7.938 kB / 441.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1322, allocations: 3.984 kB / 441.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.1322, allocations: 0 / 441.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.219e-05/0.1323, allocations: 15.94 kB / 442 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.1326, allocations: 313.1 kB / 442.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.825e-05/0.1327, allocations: 35.11 kB / 442.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.1327, allocations: 16.86 kB / 442.3 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.1328, allocations: 7.938 kB / 442.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1328, allocations: 30.56 kB / 442.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1328, allocations: 0 / 442.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002138/0.133, allocations: 61.62 kB / 442.4 MB, free: 4.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.133, allocations: 55.41 kB / 442.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.135e-05/0.1331, allocations: 97.84 kB / 442.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.1331, allocations: 25.7 kB / 442.6 MB, free: 4.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.1332, allocations: 80.14 kB / 442.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.1332, allocations: 23.73 kB / 442.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.1332, allocations: 17.72 kB / 442.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.1333, allocations: 314.8 kB / 443 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.1333, allocations: 8.125 kB / 443 MB, free: 4.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.1334, allocations: 17.72 kB / 443 MB, free: 4.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.008e-05/0.1334, allocations: 41.81 kB / 443.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1334, allocations: 3.938 kB / 443.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.403e-05/0.1335, allocations: 53.62 kB / 443.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1335, allocations: 4 kB / 443.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1336, allocations: 11.92 kB / 443.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1336, allocations: 4.031 kB / 443.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.1337, allocations: 4 kB / 443.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1337, allocations: 4 kB / 443.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.1337, allocations: 4 kB / 443.2 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1337, allocations: 0 / 443.2 MB, free: 4 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 6.782e-05/0.1338, allocations: 125.7 kB / 443.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1338, allocations: 3.906 kB / 443.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.134, allocations: 65.12 kB / 443.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.134, allocations: 0 / 443.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.134, allocations: 4 kB / 443.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.134, allocations: 0 / 443.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.1341, allocations: 161.6 kB / 443.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1341, allocations: 0 / 443.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.1342, allocations: 4 kB / 443.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1342, allocations: 4 kB / 443.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.1342, allocations: 0 / 443.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1342, allocations: 192 / 443.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1342, allocations: 7.922 kB / 443.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.1343, allocations: 155.5 kB / 443.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.1344, allocations: 89.03 kB / 443.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.1344, allocations: 0 / 443.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.648e-05/0.1345, allocations: 0 / 443.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1345, allocations: 0 / 443.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1345, allocations: 4 kB / 443.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.916e-05/0.1345, allocations: 75.28 kB / 443.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1346, allocations: 0 / 443.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.1348, allocations: 12.09 kB / 443.9 MB, free: 3.199 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000468/0.1353, allocations: 0.6928 MB / 444.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.1354, allocations: 23.94 kB / 444.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1354, allocations: 0 / 444.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.1355, allocations: 19.98 kB / 444.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.1357, allocations: 4.062 kB / 444.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.1361, allocations: 130.7 kB / 444.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.1363, allocations: 0.6768 MB / 445.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.099e-05/0.1363, allocations: 4 kB / 445.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.1364, allocations: 15.44 kB / 445.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1364, allocations: 0 / 445.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.1555, allocations: 1.27 MB / 446.7 MB, free: 304 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/7.434, allocations: 8.844 kB / 446.7 MB, free: 296 kB / 318.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_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_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches