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: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 117.6 kB / 17.09 MB, free: 5.938 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.001502/0.001503, allocations: 198.9 kB / 18.01 MB, free: 5.027 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.397/1.397, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.1995/0.1995, allocations: 43.53 MB / 314.8 MB, free: 448 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.001657/0.001657, allocations: 70.02 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1066, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001781/0.1084, allocations: 0.5096 MB / 0.489 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003323/0.1088, allocations: 88.3 kB / 0.4891 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.1088, allocations: 0 / 0.4891 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.1089, allocations: 0 / 0.4891 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.253e-05/0.1089, allocations: 0 / 0.4891 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.1092, allocations: 23.91 kB / 0.4891 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.467e-05/0.1092, allocations: 15.92 kB / 0.4891 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.826e-05/0.1093, allocations: 0 / 0.4891 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.961e-05/0.1093, allocations: 11.98 kB / 0.4892 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.1094, allocations: 3.938 kB / 0.4892 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1094, allocations: 4 kB / 0.4892 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1095, allocations: 31.97 kB / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.1095, allocations: 7.984 kB / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.1096, allocations: 3.938 kB / 0.4892 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.906e-05/0.1097, allocations: 23.95 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1097, allocations: 4 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1097, allocations: 0 / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1097, allocations: 0 / 0.4892 GB, free: 11.09 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.0004117/0.1101, allocations: 335.4 kB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1102, allocations: 11.89 kB / 0.4896 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.1102, allocations: 4.938 kB / 0.4896 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1103, allocations: 160.4 kB / 0.4897 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1103, allocations: 4.375 kB / 0.4897 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1104, allocations: 384 / 0.4897 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1105, allocations: 59.91 kB / 0.4898 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1105, allocations: 192 / 0.4898 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1105, allocations: 11.88 kB / 0.4898 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1106, allocations: 3.938 kB / 0.4898 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.892e-05/0.1106, allocations: 15.98 kB / 0.4898 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.1109, allocations: 317.1 kB / 0.4901 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.8e-05/0.111, allocations: 38.55 kB / 0.4902 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.1111, allocations: 12.86 kB / 0.4902 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.1111, allocations: 0 / 0.4902 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.1111, allocations: 34.56 kB / 0.4902 GB, free: 9.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1111, allocations: 0 / 0.4902 GB, free: 9.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001944/0.1113, allocations: 65.61 kB / 0.4903 GB, free: 9.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.1114, allocations: 55.41 kB / 0.4903 GB, free: 9.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/0.1114, allocations: 93.86 kB / 0.4904 GB, free: 9.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1115, allocations: 33.69 kB / 0.4904 GB, free: 9.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.1115, allocations: 80.14 kB / 0.4905 GB, free: 9.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.1115, allocations: 11.75 kB / 0.4905 GB, free: 9.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.1116, allocations: 17.72 kB / 0.4905 GB, free: 9.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1117, allocations: 314.8 kB / 0.4908 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.1117, allocations: 11.98 kB / 0.4909 GB, free: 9.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.652e-05/0.1118, allocations: 17.84 kB / 0.4909 GB, free: 9.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.443e-05/0.1118, allocations: 37.64 kB / 0.4909 GB, free: 9.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1118, allocations: 0 / 0.4909 GB, free: 9.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.525e-05/0.1119, allocations: 53.62 kB / 0.491 GB, free: 9.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.112, allocations: 4 kB / 0.491 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.112, allocations: 0 / 0.491 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.112, allocations: 4 kB / 0.491 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.1121, allocations: 15.97 kB / 0.491 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1121, allocations: 4 kB / 0.491 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.1121, allocations: 0 / 0.491 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1121, allocations: 3.984 kB / 0.491 GB, free: 9.043 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 7.567e-05/0.1122, allocations: 117.7 kB / 0.4911 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.1122, allocations: 3.906 kB / 0.4911 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.1124, allocations: 69.3 kB / 0.4912 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1124, allocations: 0 / 0.4912 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1124, allocations: 3.938 kB / 0.4912 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1124, allocations: 4 kB / 0.4912 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1126, allocations: 165.5 kB / 0.4913 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1126, allocations: 0 / 0.4913 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.1127, allocations: 4 kB / 0.4913 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1127, allocations: 4 kB / 0.4913 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1127, allocations: 0 / 0.4913 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1127, allocations: 0 / 0.4913 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1127, allocations: 0 / 0.4913 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.1128, allocations: 155.5 kB / 0.4915 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.1129, allocations: 85.05 kB / 0.4916 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1129, allocations: 3.984 kB / 0.4916 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.065e-05/0.113, allocations: 0 / 0.4916 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.113, allocations: 0 / 0.4916 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.113, allocations: 8 kB / 0.4916 GB, free: 8.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.081e-05/0.1131, allocations: 79.22 kB / 0.4917 GB, free: 8.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1131, allocations: 0 / 0.4917 GB, free: 8.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.1133, allocations: 12 kB / 0.4917 GB, free: 8.234 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.0001338/0.1134, allocations: 107.3 kB / 0.4918 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.1136, allocations: 23.98 kB / 0.4918 GB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1136, allocations: 4 kB / 0.4918 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.1136, allocations: 15.92 kB / 0.4918 GB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1138, allocations: 7.938 kB / 0.4918 GB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.1141, allocations: 138.5 kB / 0.492 GB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.1144, allocations: 0.6729 MB / 0.4926 GB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.1144, allocations: 19.5 kB / 0.4926 GB, free: 7.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1144, allocations: 0 / 0.4926 GB, free: 7.18 MB / 382.1 MB Notification: Performance of Templates: time 0.002211/0.1166, allocations: 0.5822 MB / 0.4932 GB, free: 6.598 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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