Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 113.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.00106/0.00106, allocations: 198.9 kB / 18.02 MB, free: 5.043 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.419/1.419, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.221/0.221, allocations: 43.53 MB / 314.8 MB, free: 444 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.001665/0.001665, allocations: 65.45 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1283, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0017/0.13, allocations: 0.5456 MB / 0.4891 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007712/0.1308, allocations: 407.3 kB / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.1309, allocations: 0 / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.1309, allocations: 3.938 kB / 0.4895 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.354e-05/0.131, allocations: 4 kB / 0.4895 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006675/0.1316, allocations: 147.5 kB / 0.4896 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.519e-05/0.1317, allocations: 23.97 kB / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.1318, allocations: 4 kB / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.961e-05/0.1318, allocations: 19.92 kB / 0.4897 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.1319, allocations: 23.91 kB / 0.4897 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1319, allocations: 0 / 0.4897 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.1323, allocations: 159.8 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.1323, allocations: 15.94 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.1324, allocations: 15.92 kB / 0.4899 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.1326, allocations: 123.8 kB / 0.49 GB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1326, allocations: 0 / 0.49 GB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1327, allocations: 7.938 kB / 0.49 GB, free: 10.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1327, allocations: 0 / 0.49 GB, free: 10.32 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005692/0.1332, allocations: 363.4 kB / 0.4903 GB, free: 9.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.1333, allocations: 16.02 kB / 0.4903 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.1334, allocations: 8.781 kB / 0.4904 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.1336, allocations: 168.3 kB / 0.4905 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1336, allocations: 4.375 kB / 0.4905 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.1336, allocations: 8.375 kB / 0.4905 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1338, allocations: 66.23 kB / 0.4906 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1338, allocations: 7.922 kB / 0.4906 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.1338, allocations: 4 kB / 0.4906 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1339, allocations: 0 / 0.4906 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-05/0.1339, allocations: 39.97 kB / 0.4906 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.1342, allocations: 181.5 kB / 0.4908 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1343, allocations: 90.48 kB / 0.4909 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.1344, allocations: 32.84 kB / 0.4909 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.1347, allocations: 97.08 kB / 0.491 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.1348, allocations: 34.56 kB / 0.4911 GB, free: 9.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.1348, allocations: 0 / 0.4911 GB, free: 9.039 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1276/0.2624, allocations: 5.619 MB / 0.4965 GB, free: 3.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.2624, allocations: 51.41 kB / 0.4966 GB, free: 3.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.2625, allocations: 97.86 kB / 0.4967 GB, free: 3.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.2626, allocations: 29.7 kB / 0.4967 GB, free: 3.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.2626, allocations: 80.52 kB / 0.4968 GB, free: 3.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/0.2627, allocations: 78.83 kB / 0.4969 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.2628, allocations: 61.67 kB / 0.4969 GB, free: 2.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.2629, allocations: 322.8 kB / 0.4972 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.2633, allocations: 116 kB / 0.4973 GB, free: 2.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.2636, allocations: 115.8 kB / 0.4975 GB, free: 2.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.265, allocations: 324.5 kB / 0.4978 GB, free: 2.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.265, allocations: 0 / 0.4978 GB, free: 2.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001124/0.2662, allocations: 353.7 kB / 0.4981 GB, free: 1.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2662, allocations: 11.98 kB / 0.4981 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2662, allocations: 0 / 0.4981 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2662, allocations: 0 / 0.4981 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.2666, allocations: 83.86 kB / 0.4982 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2666, allocations: 0 / 0.4982 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.2668, allocations: 27.95 kB / 0.4982 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.2669, allocations: 19.98 kB / 0.4982 GB, free: 1.582 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * 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 0.0001198/0.267, allocations: 125.7 kB / 0.4984 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.267, allocations: 11.89 kB / 0.4984 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.2684, allocations: 429.8 kB / 0.4988 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2684, allocations: 0 / 0.4988 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2684, allocations: 4 kB / 0.4988 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.2684, allocations: 85.02 kB / 0.4989 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.2685, allocations: 19.88 kB / 0.4989 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.2687, allocations: 27.95 kB / 0.4989 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.2687, allocations: 7.984 kB / 0.4989 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001354/0.2701, allocations: 488.4 kB / 0.4994 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001281/0.2714, allocations: 0.5223 MB / 0.4999 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003733/0.2718, allocations: 151.7 kB / 0.5 GB, free: 15.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.2718, allocations: 75.28 kB / 0.5001 GB, free: 15.59 MB / 398.1 MB Notification: Performance of Backend: time 7.91e-07/0.2718, allocations: 0 / 0.5001 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00445/0.2763, allocations: 422 kB / 0.5005 GB, free: 15.18 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004763/0.2768, allocations: 0.615 MB / 0.5011 GB, free: 14.51 MB / 398.1 MB Notification: Performance of Templates: time 0.5266/0.8034, allocations: 54.34 MB / 0.5542 GB, free: 26.68 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches