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.001125/0.001124, allocations: 103.8 kB / 16.4 MB, free: 6.43 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.001202/0.001202, allocations: 192.2 kB / 17.34 MB, free: 5.707 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.458/1.458, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2063/0.2063, allocations: 43.52 MB / 314.1 MB, free: 464 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.001817/0.001817, allocations: 68.47 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1267, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001656/0.1284, allocations: 0.5103 MB / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002897/0.1287, allocations: 84.3 kB / 0.4884 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.1287, allocations: 0 / 0.4884 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.1288, allocations: 0 / 0.4884 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.45e-05/0.1288, allocations: 3.938 kB / 0.4884 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.129, allocations: 23.95 kB / 0.4885 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.407e-05/0.1291, allocations: 11.94 kB / 0.4885 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/0.1292, allocations: 4 kB / 0.4885 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.569e-05/0.1292, allocations: 7.984 kB / 0.4885 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.1293, allocations: 7.938 kB / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1293, allocations: 0 / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.159e-05/0.1294, allocations: 35.97 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.1294, allocations: 3.984 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.1294, allocations: 7.938 kB / 0.4885 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.631e-05/0.1295, allocations: 27.89 kB / 0.4886 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1295, allocations: 8 kB / 0.4886 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1295, allocations: 0 / 0.4886 GB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1296, allocations: 0 / 0.4886 GB, free: 11.08 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.0003621/0.1299, allocations: 331.4 kB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.13, allocations: 15.89 kB / 0.4889 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.13, allocations: 0.9375 kB / 0.4889 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1301, allocations: 160.4 kB / 0.4891 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1301, allocations: 4.359 kB / 0.4891 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.1302, allocations: 8.375 kB / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.1303, allocations: 51.97 kB / 0.4891 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1303, allocations: 192 / 0.4891 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1303, allocations: 3.938 kB / 0.4891 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1303, allocations: 0 / 0.4891 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/0.1304, allocations: 23.86 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.1308, allocations: 325.1 kB / 0.4895 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.1309, allocations: 34.59 kB / 0.4895 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.1309, allocations: 16.84 kB / 0.4895 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1309, allocations: 0 / 0.4895 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.131, allocations: 34.56 kB / 0.4895 GB, free: 9.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.131, allocations: 0 / 0.4895 GB, free: 9.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001924/0.1312, allocations: 53.59 kB / 0.4896 GB, free: 9.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.1312, allocations: 55.41 kB / 0.4896 GB, free: 9.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.1313, allocations: 97.86 kB / 0.4897 GB, free: 9.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1313, allocations: 29.69 kB / 0.4898 GB, free: 9.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.1314, allocations: 80.14 kB / 0.4898 GB, free: 9.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.1314, allocations: 15.75 kB / 0.4899 GB, free: 9.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.1315, allocations: 21.66 kB / 0.4899 GB, free: 9.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1316, allocations: 314.8 kB / 0.4902 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.1316, allocations: 12.11 kB / 0.4902 GB, free: 9.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.1317, allocations: 17.72 kB / 0.4902 GB, free: 9.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/0.1317, allocations: 25.72 kB / 0.4902 GB, free: 9.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1317, allocations: 4.109 kB / 0.4902 GB, free: 9.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001016/0.1318, allocations: 61.58 kB / 0.4903 GB, free: 9.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1319, allocations: 11.98 kB / 0.4903 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1319, allocations: 0 / 0.4903 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1319, allocations: 0 / 0.4903 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.132, allocations: 12.03 kB / 0.4903 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.132, allocations: 0 / 0.4903 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.132, allocations: 0 / 0.4903 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.132, allocations: 4 kB / 0.4903 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 9.013e-05/0.1321, allocations: 117.7 kB / 0.4904 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.1321, allocations: 7.844 kB / 0.4904 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.1323, allocations: 61.17 kB / 0.4905 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1323, allocations: 0 / 0.4905 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1323, allocations: 4 kB / 0.4905 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1323, allocations: 4 kB / 0.4905 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.1325, allocations: 161.6 kB / 0.4907 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1325, allocations: 3.938 kB / 0.4907 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.1326, allocations: 12.23 kB / 0.4907 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1326, allocations: 0 / 0.4907 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1326, allocations: 0 / 0.4907 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1326, allocations: 0 / 0.4907 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1326, allocations: 0 / 0.4907 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.1328, allocations: 163.4 kB / 0.4908 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.1328, allocations: 77.11 kB / 0.4909 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1328, allocations: 0 / 0.4909 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.1329, allocations: 12.05 kB / 0.4909 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1329, allocations: 4 kB / 0.4909 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.133, allocations: 4 kB / 0.4909 GB, free: 8.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.1331, allocations: 75.28 kB / 0.491 GB, free: 8.242 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1331, allocations: 4 kB / 0.491 GB, free: 8.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1333, allocations: 8 kB / 0.491 GB, free: 8.23 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.0001496/0.1335, allocations: 103.3 kB / 0.4911 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1336, allocations: 27.92 kB / 0.4911 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1336, allocations: 0 / 0.4911 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.1337, allocations: 12 kB / 0.4911 GB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.1339, allocations: 15.36 kB / 0.4912 GB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.1342, allocations: 112.8 kB / 0.4913 GB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.1346, allocations: 0.6768 MB / 0.4919 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.458e-05/0.1347, allocations: 7.984 kB / 0.4919 GB, free: 7.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.1347, allocations: 15.38 kB / 0.492 GB, free: 7.203 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1347, allocations: 0 / 0.492 GB, free: 7.203 MB / 382.1 MB Notification: Performance of Templates: time 0.002856/0.1376, allocations: 466.7 kB / 0.4924 GB, free: 6.75 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/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