Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 113.1 kB / 17.08 MB, free: 6.016 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.001373/0.001373, allocations: 197.3 kB / 18.01 MB, free: 5.094 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.411/1.411, 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.2066/0.2066, allocations: 43.53 MB / 314.8 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.002287/0.002287, allocations: 63.91 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1128, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001807/0.1147, allocations: 0.5798 MB / 0.4891 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003789/0.1151, allocations: 120 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.1151, allocations: 0 / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.1152, allocations: 3.938 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.1155, allocations: 43.83 kB / 0.4893 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.368e-06/0.1155, allocations: 0 / 0.4893 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.511e-05/0.1156, allocations: 19.92 kB / 0.4893 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.161e-05/0.1157, allocations: 4 kB / 0.4893 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.528e-05/0.1157, allocations: 11.94 kB / 0.4893 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/0.1158, allocations: 11.91 kB / 0.4893 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.1158, allocations: 4 kB / 0.4893 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.1159, allocations: 55.94 kB / 0.4894 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1159, allocations: 3.938 kB / 0.4894 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.116, allocations: 15.88 kB / 0.4894 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.1161, allocations: 35.88 kB / 0.4894 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1161, allocations: 4 kB / 0.4894 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1161, allocations: 4 kB / 0.4895 GB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1161, allocations: 0 / 0.4895 GB, free: 10.88 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003922/0.1165, allocations: 343.4 kB / 0.4898 GB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1166, allocations: 12.03 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.1166, allocations: 0.9375 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1168, allocations: 168.4 kB / 0.49 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1168, allocations: 384 / 0.49 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1168, allocations: 8.375 kB / 0.49 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.117, allocations: 58.19 kB / 0.49 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.117, allocations: 192 / 0.49 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.117, allocations: 11.92 kB / 0.49 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.117, allocations: 0 / 0.49 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1171, allocations: 55.89 kB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.1173, allocations: 173.5 kB / 0.4902 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1175, allocations: 86.56 kB / 0.4903 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.1175, allocations: 32.86 kB / 0.4904 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000385/0.1179, allocations: 255.3 kB / 0.4906 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.118, allocations: 34.56 kB / 0.4906 GB, free: 9.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.964e-06/0.118, allocations: 4 kB / 0.4906 GB, free: 9.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003459/0.1183, allocations: 105.7 kB / 0.4907 GB, free: 9.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.1184, allocations: 51.41 kB / 0.4908 GB, free: 9.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.1185, allocations: 93.86 kB / 0.4909 GB, free: 9.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1185, allocations: 29.7 kB / 0.4909 GB, free: 9.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.1186, allocations: 84.14 kB / 0.491 GB, free: 9.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.1186, allocations: 35.45 kB / 0.491 GB, free: 9.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.1187, allocations: 21.7 kB / 0.491 GB, free: 8.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002409/0.1189, allocations: 315.2 kB / 0.4913 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.119, allocations: 23.92 kB / 0.4914 GB, free: 8.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.342e-05/0.119, allocations: 19.94 kB / 0.4914 GB, free: 8.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.704e-05/0.1191, allocations: 52.97 kB / 0.4914 GB, free: 8.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1191, allocations: 0 / 0.4914 GB, free: 8.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001278/0.1193, allocations: 81.62 kB / 0.4915 GB, free: 8.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1193, allocations: 8 kB / 0.4915 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1193, allocations: 3.938 kB / 0.4915 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1193, allocations: 0 / 0.4915 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/0.1194, allocations: 12 kB / 0.4915 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.1194, allocations: 7.984 kB / 0.4915 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.1195, allocations: 11.91 kB / 0.4916 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1195, allocations: 0 / 0.4916 GB, free: 8.441 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 (10): * Single equations (assignments): 10 * 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.319e-05/0.1196, allocations: 125.7 kB / 0.4917 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.1196, allocations: 4 kB / 0.4917 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.1198, allocations: 97.52 kB / 0.4918 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1198, allocations: 0 / 0.4918 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1198, allocations: 0 / 0.4918 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1198, allocations: 4 kB / 0.4918 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.12, allocations: 170 kB / 0.4919 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.12, allocations: 0 / 0.4919 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.1201, allocations: 20 kB / 0.492 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1201, allocations: 7.938 kB / 0.492 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1201, allocations: 11.86 kB / 0.492 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1201, allocations: 0 / 0.492 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1201, allocations: 0 / 0.492 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.1203, allocations: 113 kB / 0.4921 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.1203, allocations: 81.11 kB / 0.4922 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1203, allocations: 7.922 kB / 0.4922 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.32e-05/0.1204, allocations: 0 / 0.4922 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.1204, allocations: 8 kB / 0.4922 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1204, allocations: 4 kB / 0.4922 GB, free: 7.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.205e-05/0.1204, allocations: 79.28 kB / 0.4923 GB, free: 7.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1204, allocations: 0 / 0.4923 GB, free: 7.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.1206, allocations: 15.98 kB / 0.4923 GB, free: 7.598 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 (10): * Single equations (assignments): 10 * 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.0001549/0.1208, allocations: 115.2 kB / 0.4924 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.121, allocations: 51.92 kB / 0.4924 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.121, allocations: 4.094 kB / 0.4924 GB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.406e-05/0.121, allocations: 31.98 kB / 0.4925 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.1212, allocations: 3.438 kB / 0.4925 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.1216, allocations: 174.4 kB / 0.4926 GB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1219, allocations: 0.6807 MB / 0.4933 GB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.1219, allocations: 11.44 kB / 0.4933 GB, free: 6.469 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1219, allocations: 0 / 0.4933 GB, free: 6.469 MB / 382.1 MB Notification: Performance of Templates: time 0.0024/0.1243, allocations: 0.8166 MB / 0.4941 GB, free: 5.652 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches