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.00114/0.00114, allocations: 102.4 kB / 16.4 MB, free: 6.492 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.001189/0.001189, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.331/1.331, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2053/0.2053, allocations: 43.53 MB / 314.1 MB, free: 456 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.001561/0.001561, allocations: 67.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1245, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001881/0.1264, allocations: 0.5026 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003269/0.1268, allocations: 96.56 kB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.1268, allocations: 0 / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.1269, allocations: 0 / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.159e-05/0.1269, allocations: 3.938 kB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.1271, allocations: 11.98 kB / 499.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.623e-05/0.1272, allocations: 15.92 kB / 499.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.1273, allocations: 3.984 kB / 499.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.522e-05/0.1273, allocations: 8 kB / 499.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.1274, allocations: 11.92 kB / 499.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1274, allocations: 0 / 499.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-05/0.1275, allocations: 39.97 kB / 499.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.1275, allocations: 0 / 499.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.1275, allocations: 11.92 kB / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.82e-05/0.1276, allocations: 15.97 kB / 499.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1276, allocations: 4 kB / 499.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1276, allocations: 4 kB / 499.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1276, allocations: 0 / 499.8 MB, free: 11.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003628/0.128, allocations: 335.3 kB / 0.4884 GB, free: 11.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1281, allocations: 11.89 kB / 0.4884 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.1281, allocations: 42.75 kB / 0.4885 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.1281, allocations: 0.9375 kB / 0.4885 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.1283, allocations: 160.4 kB / 0.4886 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1283, allocations: 4.375 kB / 0.4886 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.1283, allocations: 384 / 0.4886 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1285, allocations: 55.97 kB / 0.4887 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1285, allocations: 7.875 kB / 0.4887 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.1285, allocations: 3.938 kB / 0.4887 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1285, allocations: 4 kB / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.596e-05/0.1286, allocations: 15.92 kB / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.1288, allocations: 317.2 kB / 0.489 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.928e-05/0.1289, allocations: 34.5 kB / 0.489 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.129, allocations: 24.88 kB / 0.4891 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.129, allocations: 4 kB / 0.4891 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.129, allocations: 30.56 kB / 0.4891 GB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.129, allocations: 0 / 0.4891 GB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001767/0.1292, allocations: 53.59 kB / 0.4891 GB, free: 10.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.1293, allocations: 51.41 kB / 0.4892 GB, free: 10.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.752e-05/0.1293, allocations: 97.86 kB / 0.4893 GB, free: 10.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.1294, allocations: 25.7 kB / 0.4893 GB, free: 10.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.1294, allocations: 84.25 kB / 0.4894 GB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.1294, allocations: 23.75 kB / 0.4894 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.1295, allocations: 13.72 kB / 0.4894 GB, free: 9.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.1296, allocations: 318.8 kB / 0.4897 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.1296, allocations: 7.984 kB / 0.4897 GB, free: 9.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.873e-05/0.1296, allocations: 21.72 kB / 0.4898 GB, free: 9.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.628e-05/0.1297, allocations: 21.72 kB / 0.4898 GB, free: 9.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1297, allocations: 7.938 kB / 0.4898 GB, free: 9.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.567e-05/0.1298, allocations: 57.62 kB / 0.4898 GB, free: 9.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1298, allocations: 8 kB / 0.4898 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1298, allocations: 4.109 kB / 0.4899 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1298, allocations: 4 kB / 0.4899 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.1299, allocations: 8 kB / 0.4899 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1299, allocations: 0 / 0.4899 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.1299, allocations: 0 / 0.4899 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.13, allocations: 4 kB / 0.4899 GB, free: 9.512 MB / 382.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.871e-05/0.13, allocations: 121.8 kB / 0.49 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.1301, allocations: 7.906 kB / 0.49 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.1302, allocations: 61.11 kB / 0.49 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1302, allocations: 0 / 0.49 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1302, allocations: 4 kB / 0.4901 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1302, allocations: 0 / 0.4901 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.1304, allocations: 165.5 kB / 0.4902 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1304, allocations: 0 / 0.4902 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.1304, allocations: 8 kB / 0.4902 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1304, allocations: 0 / 0.4902 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.1304, allocations: 4 kB / 0.4902 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1304, allocations: 0 / 0.4902 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1305, allocations: 3.938 kB / 0.4902 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.1306, allocations: 155.4 kB / 0.4904 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.1306, allocations: 77.11 kB / 0.4904 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.1306, allocations: 4 kB / 0.4905 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-05/0.1307, allocations: 0 / 0.4905 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.1307, allocations: 7.984 kB / 0.4905 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1307, allocations: 4.125 kB / 0.4905 GB, free: 8.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.577e-05/0.1308, allocations: 79.28 kB / 0.4905 GB, free: 8.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1308, allocations: 0 / 0.4905 GB, free: 8.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.131, allocations: 4 kB / 0.4905 GB, free: 8.711 MB / 382.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.0003873/0.1314, allocations: 0.7007 MB / 0.4912 GB, free: 7.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.935e-05/0.1315, allocations: 23.98 kB / 0.4912 GB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1315, allocations: 0 / 0.4912 GB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.1316, allocations: 19.94 kB / 0.4913 GB, free: 7.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.1318, allocations: 7.75 kB / 0.4913 GB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.1321, allocations: 144.8 kB / 0.4914 GB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.1324, allocations: 0.6807 MB / 0.4921 GB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.269e-05/0.1324, allocations: 4.062 kB / 0.4921 GB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.1325, allocations: 11.44 kB / 0.4921 GB, free: 7.031 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1325, allocations: 0 / 0.4921 GB, free: 7.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.1504, allocations: 1.314 MB / 0.4934 GB, free: 5.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.111/7.261, allocations: 0 / 0.4934 GB, free: 5.719 MB / 382.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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.mat","/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