Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.09 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 78.44 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1167, allocations: 62.46 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001716/0.1185, allocations: 0.4902 MB / 480.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002643/0.1187, allocations: 106.4 kB / 480.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.75e-05/0.1188, allocations: 0 / 480.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.031e-05/0.1188, allocations: 0 / 480.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.886e-05/0.1188, allocations: 0 / 480.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.119, allocations: 19.91 kB / 480.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.55e-05/0.1191, allocations: 11.98 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.1191, allocations: 0 / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.225e-05/0.1191, allocations: 8 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.1192, allocations: 11.92 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1192, allocations: 0 / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.069e-05/0.1193, allocations: 31.97 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.1193, allocations: 4 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.1193, allocations: 7.938 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.556e-05/0.1194, allocations: 27.95 kB / 480.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1194, allocations: 0 / 480.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1194, allocations: 7.938 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1194, allocations: 0 / 480.9 MB, free: 4.496 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003604/0.1198, allocations: 323.6 kB / 481.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1199, allocations: 8.031 kB / 481.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.1199, allocations: 38.69 kB / 481.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.1199, allocations: 4.938 kB / 481.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.1201, allocations: 168.6 kB / 481.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1201, allocations: 384 / 481.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1201, allocations: 4.375 kB / 481.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1202, allocations: 55.97 kB / 481.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1203, allocations: 3.938 kB / 481.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1203, allocations: 0 / 481.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1203, allocations: 0 / 481.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.018e-05/0.1203, allocations: 15.94 kB / 481.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.1207, allocations: 333 kB / 481.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.626e-05/0.1208, allocations: 26.52 kB / 481.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.1208, allocations: 16.86 kB / 481.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1209, allocations: 0 / 481.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1209, allocations: 42.58 kB / 481.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1209, allocations: 0 / 481.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001882/0.1211, allocations: 53.69 kB / 481.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1212, allocations: 51.41 kB / 482 MB, free: 3.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.1212, allocations: 93.86 kB / 482.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1213, allocations: 25.7 kB / 482.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.1213, allocations: 80.14 kB / 482.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.1213, allocations: 15.81 kB / 482.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.1214, allocations: 25.83 kB / 482.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1215, allocations: 310.8 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.474e-05/0.1216, allocations: 4 kB / 482.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.1216, allocations: 25.64 kB / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.134e-05/0.1216, allocations: 25.72 kB / 482.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1217, allocations: 3.938 kB / 482.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001231/0.1218, allocations: 61.62 kB / 482.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1218, allocations: 11.94 kB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1218, allocations: 0 / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1218, allocations: 0 / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.1219, allocations: 8 kB / 482.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1219, allocations: 3.984 kB / 482.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.122, allocations: 3.906 kB / 482.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.122, allocations: 4 kB / 482.7 MB, free: 2.43 MB / 350.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 8.411e-05/0.1221, allocations: 117.7 kB / 482.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.1221, allocations: 4.266 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.1222, allocations: 65.12 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1223, allocations: 3.984 kB / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1223, allocations: 4 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1223, allocations: 0 / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1224, allocations: 157.6 kB / 483 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1225, allocations: 0 / 483 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.1225, allocations: 15.92 kB / 483 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1225, allocations: 0 / 483 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.1225, allocations: 0 / 483 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1225, allocations: 4.188 kB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1225, allocations: 4 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.1227, allocations: 155.4 kB / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.1227, allocations: 81.02 kB / 483.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.1228, allocations: 4 kB / 483.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.1228, allocations: 0 / 483.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1228, allocations: 4 kB / 483.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1229, allocations: 3.984 kB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.855e-05/0.1229, allocations: 83.28 kB / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1229, allocations: 0 / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1231, allocations: 8 kB / 483.4 MB, free: 1.629 MB / 350.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.0004719/0.1236, allocations: 0.6811 MB / 484 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.1237, allocations: 32.08 kB / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1238, allocations: 0 / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.1238, allocations: 19.94 kB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.124, allocations: 2.406 kB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.1244, allocations: 146.4 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.1246, allocations: 0.6729 MB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.152e-05/0.1247, allocations: 8.062 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.1247, allocations: 11.42 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1247, allocations: 4 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.1403, allocations: 1.26 MB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.305/7.446, allocations: 5.891 kB / 486.2 MB, free: 14.79 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches