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.001151/0.001151, allocations: 110.9 kB / 17.09 MB, free: 5.957 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.001234/0.001234, allocations: 199.4 kB / 18.03 MB, free: 5.035 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.349/1.349, 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.2014/0.2014, allocations: 43.53 MB / 314.8 MB, free: 452 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.001498/0.001498, allocations: 69.45 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1049, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001593/0.1065, allocations: 0.5067 MB / 0.489 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002816/0.1068, allocations: 88.28 kB / 0.4891 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.1069, allocations: 0 / 0.4891 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.277e-05/0.1069, allocations: 0 / 0.4891 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.079e-05/0.1069, allocations: 4 kB / 0.4891 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.1071, allocations: 15.92 kB / 0.4891 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.088e-05/0.1072, allocations: 23.91 kB / 0.4892 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.1072, allocations: 0 / 0.4892 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.1073, allocations: 4 kB / 0.4892 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.1073, allocations: 11.92 kB / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1073, allocations: 4 kB / 0.4892 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.1074, allocations: 27.97 kB / 0.4892 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.1074, allocations: 8 kB / 0.4892 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.1075, allocations: 3.938 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.812e-05/0.1076, allocations: 27.95 kB / 0.4892 GB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1076, allocations: 0 / 0.4892 GB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1076, allocations: 0 / 0.4892 GB, free: 11.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.1076, allocations: 0 / 0.4892 GB, free: 11.07 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.0003868/0.108, allocations: 339.3 kB / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1081, allocations: 11.89 kB / 0.4896 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.1081, allocations: 0.9375 kB / 0.4896 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.1082, allocations: 172.3 kB / 0.4897 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1083, allocations: 384 / 0.4897 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1083, allocations: 4.375 kB / 0.4897 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1084, allocations: 55.97 kB / 0.4898 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1084, allocations: 192 / 0.4898 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1085, allocations: 3.938 kB / 0.4898 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.1085, allocations: 7.938 kB / 0.4898 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.599e-05/0.1085, allocations: 7.938 kB / 0.4898 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.1089, allocations: 325.2 kB / 0.4901 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.284e-05/0.109, allocations: 30.52 kB / 0.4902 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.109, allocations: 16.86 kB / 0.4902 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.109, allocations: 0 / 0.4902 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1091, allocations: 30.56 kB / 0.4902 GB, free: 9.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1091, allocations: 0 / 0.4902 GB, free: 9.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002053/0.1093, allocations: 65.81 kB / 0.4903 GB, free: 9.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1093, allocations: 59.39 kB / 0.4903 GB, free: 9.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.1094, allocations: 89.86 kB / 0.4904 GB, free: 9.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1094, allocations: 29.7 kB / 0.4904 GB, free: 9.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.1095, allocations: 80.14 kB / 0.4905 GB, free: 9.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.1095, allocations: 15.84 kB / 0.4905 GB, free: 9.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.1096, allocations: 21.7 kB / 0.4905 GB, free: 9.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1097, allocations: 310.8 kB / 0.4908 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.1097, allocations: 8.125 kB / 0.4909 GB, free: 9.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.1098, allocations: 25.7 kB / 0.4909 GB, free: 9.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.1098, allocations: 33.69 kB / 0.4909 GB, free: 9.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1098, allocations: 0 / 0.4909 GB, free: 9.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001068/0.1099, allocations: 61.56 kB / 0.491 GB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.11, allocations: 4 kB / 0.491 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.11, allocations: 0 / 0.491 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.11, allocations: 4.031 kB / 0.491 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.758e-05/0.1101, allocations: 8.125 kB / 0.491 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1101, allocations: 4 kB / 0.491 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.1101, allocations: 7.953 kB / 0.491 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1101, allocations: 3.984 kB / 0.491 GB, free: 9.02 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.001e-05/0.1102, allocations: 117.8 kB / 0.4911 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.1103, allocations: 3.938 kB / 0.4911 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.1105, allocations: 65.12 kB / 0.4912 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1105, allocations: 0 / 0.4912 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1105, allocations: 4 kB / 0.4912 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.1106, allocations: 81.05 kB / 0.4913 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.1106, allocations: 3.984 kB / 0.4913 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.391e-05/0.1106, allocations: 3.938 kB / 0.4913 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.1107, allocations: 4 kB / 0.4913 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001721/0.1109, allocations: 132.9 kB / 0.4914 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002426/0.1111, allocations: 230.7 kB / 0.4916 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.976e-05/0.1112, allocations: 19.98 kB / 0.4916 GB, free: 8.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.219e-05/0.1112, allocations: 75.28 kB / 0.4917 GB, free: 8.227 MB / 382.1 MB Notification: Performance of Backend: time 3.41e-07/0.1112, allocations: 0 / 0.4917 GB, free: 8.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004654/0.1117, allocations: 105.9 kB / 0.4918 GB, free: 8.117 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004306/0.1122, allocations: 0.5447 MB / 0.4923 GB, free: 7.523 MB / 382.1 MB Notification: Performance of Templates: time 0.003231/0.1154, allocations: 0.6075 MB / 0.4929 GB, free: 6.918 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