Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 179.7 kB / 16.41 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008311/0.0008311, allocations: 100.8 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3349/0.3349, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 15.98 kB / 431.4 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 58.85 MB / 490.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0005867/0.1159, allocations: 268.3 kB / 490.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006778/0.1166, allocations: 376.8 kB / 490.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.952e-05/0.1166, allocations: 0 / 490.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.1166, allocations: 0 / 490.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.624e-05/0.1167, allocations: 7.938 kB / 490.9 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.1171, allocations: 111.7 kB / 491 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.897e-05/0.1171, allocations: 19.98 kB / 491 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.1172, allocations: 0 / 491 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.1172, allocations: 11.94 kB / 491 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/0.1173, allocations: 19.92 kB / 491 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.1173, allocations: 0 / 491 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.1175, allocations: 151.8 kB / 491.2 MB, free: 10 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.1176, allocations: 8 kB / 491.2 MB, free: 9.996 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.1176, allocations: 25.7 kB / 491.2 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.1177, allocations: 87.88 kB / 491.3 MB, free: 9.879 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1177, allocations: 0 / 491.3 MB, free: 9.879 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1177, allocations: 0 / 491.3 MB, free: 9.879 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1178, allocations: 0 / 491.3 MB, free: 9.879 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004082/0.1182, allocations: 359.5 kB / 491.7 MB, free: 9.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1182, allocations: 8.031 kB / 491.7 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.1183, allocations: 15.8 kB / 491.7 MB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1184, allocations: 163 kB / 491.8 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1184, allocations: 4 kB / 491.8 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1184, allocations: 8 kB / 491.9 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1186, allocations: 50.84 kB / 491.9 MB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1186, allocations: 4 kB / 491.9 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1186, allocations: 4 kB / 491.9 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1186, allocations: 0 / 491.9 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.526e-05/0.1187, allocations: 27.92 kB / 491.9 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.1189, allocations: 181.5 kB / 492.1 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.1191, allocations: 58.55 kB / 492.2 MB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.1191, allocations: 33.08 kB / 492.2 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/0.1194, allocations: 121 kB / 492.3 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1195, allocations: 34.56 kB / 492.4 MB, free: 8.648 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1195, allocations: 4 kB / 492.4 MB, free: 8.645 MB / 378.7 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1338/0.2533, allocations: 6.605 MB / 499 MB, free: 2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.2534, allocations: 55.41 kB / 499 MB, free: 1.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.2535, allocations: 97.86 kB / 499.1 MB, free: 1.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.2536, allocations: 25.7 kB / 499.1 MB, free: 1.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.2536, allocations: 92.12 kB / 499.2 MB, free: 1.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.245e-05/0.2537, allocations: 63.09 kB / 499.3 MB, free: 1.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.2538, allocations: 4 kB / 499.3 MB, free: 1.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2539, allocations: 322.8 kB / 499.6 MB, free: 1.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/0.2544, allocations: 243.8 kB / 499.8 MB, free: 1.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.255, allocations: 239.8 kB / 0.4884 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.256, allocations: 299.2 kB / 0.4886 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.256, allocations: 0 / 0.4886 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.2272/0.4832, allocations: 0.6407 MB / 0.4893 GB, free: 41.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.4833, allocations: 5.594 kB / 0.4893 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.4833, allocations: 0.7656 kB / 0.4893 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.4834, allocations: 1.5 kB / 0.4893 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/0.4841, allocations: 117.1 kB / 0.4894 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4841, allocations: 7.266 kB / 0.4894 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.4846, allocations: 33.44 kB / 0.4894 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/0.4847, allocations: 32.06 kB / 0.4895 GB, free: 41.74 MB / 378.7 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.4848, allocations: 120.3 kB / 0.4896 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.4849, allocations: 11.19 kB / 0.4896 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.4872, allocations: 0.7585 MB / 0.4903 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4872, allocations: 1.812 kB / 0.4903 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4873, allocations: 3.172 kB / 0.4903 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4873, allocations: 1.172 kB / 0.4903 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004199/0.4915, allocations: 1.218 MB / 0.4915 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4915, allocations: 6.688 kB / 0.4915 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.4921, allocations: 111.6 kB / 0.4916 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.4921, allocations: 4.766 kB / 0.4916 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.4922, allocations: 28.83 kB / 0.4917 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.4922, allocations: 3.047 kB / 0.4917 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4922, allocations: 2.125 kB / 0.4917 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.494, allocations: 0.6059 MB / 0.4923 GB, free: 41.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.494, allocations: 89 kB / 0.4924 GB, free: 40.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.4941, allocations: 5.906 kB / 0.4924 GB, free: 40.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.4945, allocations: 36.83 kB / 0.4924 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.4945, allocations: 16.42 kB / 0.4924 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.4946, allocations: 29.8 kB / 0.4924 GB, free: 40.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.775e-05/0.4946, allocations: 83.19 kB / 0.4925 GB, free: 40.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4946, allocations: 0 / 0.4925 GB, free: 40.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001862/0.4965, allocations: 0.6432 MB / 0.4931 GB, free: 40.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002886/0.4994, allocations: 308 kB / 0.4934 GB, free: 40.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.5007, allocations: 491.2 kB / 0.4939 GB, free: 40.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5008, allocations: 1.875 kB / 0.4939 GB, free: 40.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.5013, allocations: 221.5 kB / 0.4941 GB, free: 40.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.5016, allocations: 16.75 kB / 0.4941 GB, free: 40.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.504, allocations: 0.614 MB / 0.4947 GB, free: 40.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.5042, allocations: 0.6992 MB / 0.4954 GB, free: 39.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/0.5045, allocations: 86.72 kB / 0.4955 GB, free: 39.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5045, allocations: 0 / 0.4955 GB, free: 39.77 MB / 378.7 MB Notification: Performance of Templates: time 0.02749/0.532, allocations: 16 MB / 0.5111 GB, free: 38.68 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches