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.001716/0.001716, allocations: 111.4 kB / 16.41 MB, free: 6.445 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.001893/0.001893, allocations: 185.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.416/1.416, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.2151/0.2151, allocations: 43.52 MB / 314.1 MB, free: 476 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.002043/0.002043, allocations: 59.91 kB / 441.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1059, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001583/0.1076, allocations: 0.5105 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002849/0.1079, allocations: 92.27 kB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.1079, allocations: 4 kB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.23e-05/0.1079, allocations: 0 / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.151e-05/0.1079, allocations: 0 / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.1081, allocations: 15.92 kB / 499.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.1082, allocations: 15.92 kB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.1083, allocations: 4 kB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.333e-05/0.1083, allocations: 0 / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.1083, allocations: 11.92 kB / 499.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1084, allocations: 0 / 499.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.993e-05/0.1085, allocations: 39.97 kB / 499.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.1085, allocations: 3.984 kB / 499.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.1085, allocations: 15.92 kB / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.855e-05/0.1086, allocations: 15.98 kB / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1086, allocations: 0 / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.789e-06/0.1087, allocations: 3.984 kB / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1087, allocations: 0 / 499.8 MB, free: 11.61 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.0004391/0.1091, allocations: 335.4 kB / 0.4884 GB, free: 11.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1092, allocations: 11.89 kB / 0.4884 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.1092, allocations: 38.69 kB / 0.4885 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.1092, allocations: 0.9375 kB / 0.4885 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1094, allocations: 168.3 kB / 0.4886 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1094, allocations: 384 / 0.4886 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.1094, allocations: 384 / 0.4886 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1096, allocations: 55.97 kB / 0.4887 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1096, allocations: 7.875 kB / 0.4887 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1096, allocations: 4 kB / 0.4887 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1096, allocations: 0 / 0.4887 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.039e-05/0.1097, allocations: 19.92 kB / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.11, allocations: 313.2 kB / 0.489 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.02e-05/0.1101, allocations: 34.52 kB / 0.489 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.049e-05/0.1101, allocations: 16.94 kB / 0.4891 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.1102, allocations: 0 / 0.4891 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1102, allocations: 38.56 kB / 0.4891 GB, free: 10.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 4.128e-06/0.1102, allocations: 0 / 0.4891 GB, free: 10.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000178/0.1104, allocations: 61.58 kB / 0.4892 GB, free: 10.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.1104, allocations: 51.41 kB / 0.4892 GB, free: 10.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.173e-05/0.1105, allocations: 93.86 kB / 0.4893 GB, free: 10.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1105, allocations: 25.7 kB / 0.4893 GB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.1106, allocations: 84.12 kB / 0.4894 GB, free: 10.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.1106, allocations: 19.95 kB / 0.4894 GB, free: 10.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.1107, allocations: 21.72 kB / 0.4894 GB, free: 10 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1108, allocations: 314.8 kB / 0.4897 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.441e-05/0.1108, allocations: 7.984 kB / 0.4897 GB, free: 9.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.919e-05/0.1109, allocations: 17.72 kB / 0.4898 GB, free: 9.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.922e-05/0.1109, allocations: 33.84 kB / 0.4898 GB, free: 9.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1109, allocations: 3.938 kB / 0.4898 GB, free: 9.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001026/0.1111, allocations: 61.61 kB / 0.4899 GB, free: 9.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1111, allocations: 7.984 kB / 0.4899 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1111, allocations: 0 / 0.4899 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1111, allocations: 4 kB / 0.4899 GB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.1112, allocations: 4 kB / 0.4899 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1112, allocations: 128 / 0.4899 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.1112, allocations: 11.95 kB / 0.4899 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.1112, allocations: 0 / 0.4899 GB, free: 9.52 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 8.436e-05/0.1113, allocations: 125.8 kB / 0.49 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.1113, allocations: 0 / 0.49 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.1115, allocations: 69.11 kB / 0.4901 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1115, allocations: 0 / 0.4901 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1115, allocations: 0 / 0.4901 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1115, allocations: 3.938 kB / 0.4901 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.1117, allocations: 165.5 kB / 0.4902 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1117, allocations: 0 / 0.4902 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.1117, allocations: 4 kB / 0.4902 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1117, allocations: 0 / 0.4902 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1118, allocations: 4 kB / 0.4902 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1118, allocations: 4 kB / 0.4902 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1118, allocations: 0 / 0.4902 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.1119, allocations: 159.4 kB / 0.4904 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.112, allocations: 81.05 kB / 0.4905 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.112, allocations: 4 kB / 0.4905 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-05/0.1121, allocations: 3.984 kB / 0.4905 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.1121, allocations: 0 / 0.4905 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1121, allocations: 4 kB / 0.4905 GB, free: 8.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.1121, allocations: 79.28 kB / 0.4906 GB, free: 8.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1122, allocations: 0 / 0.4906 GB, free: 8.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.1124, allocations: 8 kB / 0.4906 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.0004708/0.1128, allocations: 0.6852 MB / 0.4912 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.113, allocations: 32.02 kB / 0.4913 GB, free: 7.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.113, allocations: 0 / 0.4913 GB, free: 7.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.892e-05/0.113, allocations: 12 kB / 0.4913 GB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.1132, allocations: 10.64 kB / 0.4913 GB, free: 7.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.1136, allocations: 144.7 kB / 0.4914 GB, free: 7.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.1139, allocations: 0.6768 MB / 0.4921 GB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.056e-05/0.114, allocations: 4.062 kB / 0.4921 GB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.114, allocations: 11.44 kB / 0.4921 GB, free: 7.047 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.114, allocations: 0 / 0.4921 GB, free: 7.047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.1367, allocations: 1.297 MB / 0.4934 GB, free: 5.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.645, allocations: 7.344 kB / 0.4934 GB, free: 5.746 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