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.001261/0.001261, allocations: 100.2 kB / 17.08 MB, free: 5.988 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.0013/0.0013, allocations: 198.2 kB / 18.02 MB, free: 5.07 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.25/1.25, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1956/0.1956, allocations: 43.52 MB / 314.8 MB, free: 468 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.001523/0.001523, allocations: 63.91 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1143, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001833/0.1162, allocations: 0.5065 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003433/0.1165, allocations: 88.33 kB / 0.4891 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.1166, allocations: 0 / 0.4891 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.1166, allocations: 3.938 kB / 0.4891 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.437e-05/0.1167, allocations: 4 kB / 0.4891 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.1169, allocations: 15.92 kB / 0.4891 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.942e-05/0.117, allocations: 15.94 kB / 0.4891 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.117, allocations: 3.984 kB / 0.4891 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.1171, allocations: 4 kB / 0.4892 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.118e-05/0.1172, allocations: 15.92 kB / 0.4892 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.1172, allocations: 0 / 0.4892 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1173, allocations: 31.97 kB / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.1173, allocations: 7.984 kB / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.1174, allocations: 0 / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.1175, allocations: 23.91 kB / 0.4892 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1175, allocations: 8 kB / 0.4892 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1175, allocations: 0 / 0.4892 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1176, allocations: 0 / 0.4892 GB, free: 11.11 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.0004403/0.118, allocations: 331.4 kB / 0.4896 GB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.1181, allocations: 11.89 kB / 0.4896 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.1181, allocations: 4.938 kB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1182, allocations: 160.4 kB / 0.4897 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1183, allocations: 4.359 kB / 0.4897 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1183, allocations: 12.36 kB / 0.4897 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1184, allocations: 59.91 kB / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1185, allocations: 4.125 kB / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1185, allocations: 3.938 kB / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.1185, allocations: 0 / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.081e-05/0.1185, allocations: 15.94 kB / 0.4898 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.1189, allocations: 321.1 kB / 0.4901 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.948e-05/0.119, allocations: 34.52 kB / 0.4902 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.119, allocations: 12.86 kB / 0.4902 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1191, allocations: 4 kB / 0.4902 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1191, allocations: 30.56 kB / 0.4902 GB, free: 9.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.1191, allocations: 0 / 0.4902 GB, free: 9.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002175/0.1193, allocations: 61.62 kB / 0.4903 GB, free: 9.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.1194, allocations: 55.41 kB / 0.4903 GB, free: 9.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/0.1195, allocations: 97.84 kB / 0.4904 GB, free: 9.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1195, allocations: 25.7 kB / 0.4904 GB, free: 9.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.1196, allocations: 84.12 kB / 0.4905 GB, free: 9.586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.1196, allocations: 19.75 kB / 0.4905 GB, free: 9.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.1197, allocations: 17.72 kB / 0.4905 GB, free: 9.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1198, allocations: 314.8 kB / 0.4908 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.1198, allocations: 8.125 kB / 0.4909 GB, free: 9.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.802e-05/0.1199, allocations: 17.72 kB / 0.4909 GB, free: 9.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.863e-05/0.1199, allocations: 37.64 kB / 0.4909 GB, free: 9.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1199, allocations: 0 / 0.4909 GB, free: 9.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001119/0.12, allocations: 53.62 kB / 0.491 GB, free: 9.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1201, allocations: 4 kB / 0.491 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1201, allocations: 4 kB / 0.491 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1201, allocations: 4.031 kB / 0.491 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.1202, allocations: 7.938 kB / 0.491 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1202, allocations: 7.984 kB / 0.491 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.1202, allocations: 0 / 0.491 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1202, allocations: 128 / 0.491 GB, free: 9.066 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.95e-05/0.1203, allocations: 121.8 kB / 0.4911 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.1204, allocations: 11.84 kB / 0.4911 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.1205, allocations: 61.19 kB / 0.4912 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1205, allocations: 0 / 0.4912 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1205, allocations: 4 kB / 0.4912 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.1206, allocations: 77.11 kB / 0.4912 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1206, allocations: 4 kB / 0.4913 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.91e-05/0.1207, allocations: 0 / 0.4913 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1207, allocations: 12.09 kB / 0.4913 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001346/0.1209, allocations: 136.9 kB / 0.4914 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001657/0.121, allocations: 222.8 kB / 0.4916 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.621e-05/0.1211, allocations: 19.94 kB / 0.4916 GB, free: 8.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.1211, allocations: 87.2 kB / 0.4917 GB, free: 8.258 MB / 382.1 MB Notification: Performance of Backend: time 6.11e-07/0.1211, allocations: 0 / 0.4917 GB, free: 8.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003883/0.1215, allocations: 96.5 kB / 0.4918 GB, free: 8.16 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004468/0.122, allocations: 0.5486 MB / 0.4923 GB, free: 7.562 MB / 382.1 MB Notification: Performance of Templates: time 0.002809/0.1248, allocations: 0.6113 MB / 0.4929 GB, free: 6.953 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