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.001458/0.001458, allocations: 113.8 kB / 17.08 MB, free: 5.945 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.001576/0.001576, allocations: 194.5 kB / 18.01 MB, free: 5.031 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.412/1.412, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.2067/0.2067, allocations: 43.53 MB / 314.8 MB, free: 452 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.002221/0.002221, allocations: 77.45 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1129, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001921/0.1149, allocations: 0.5834 MB / 0.4891 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003945/0.1153, allocations: 120 kB / 0.4892 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.1154, allocations: 0 / 0.4892 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.1154, allocations: 0 / 0.4892 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.1157, allocations: 47.83 kB / 0.4893 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.589e-06/0.1157, allocations: 0 / 0.4893 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.1158, allocations: 23.91 kB / 0.4893 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.296e-05/0.1159, allocations: 0 / 0.4893 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.1159, allocations: 7.938 kB / 0.4893 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.875e-05/0.116, allocations: 19.86 kB / 0.4893 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.116, allocations: 4 kB / 0.4893 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.1161, allocations: 51.95 kB / 0.4894 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.1162, allocations: 7.922 kB / 0.4894 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.1162, allocations: 11.92 kB / 0.4894 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.1163, allocations: 35.89 kB / 0.4894 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1163, allocations: 4 kB / 0.4895 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1163, allocations: 0 / 0.4895 GB, free: 10.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1163, allocations: 0 / 0.4895 GB, free: 10.85 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.0003135/0.1167, allocations: 339.5 kB / 0.4898 GB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1167, allocations: 11.97 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.1167, allocations: 4.938 kB / 0.4898 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1169, allocations: 172.3 kB / 0.49 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1169, allocations: 4.375 kB / 0.49 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.1169, allocations: 4.375 kB / 0.49 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.117, allocations: 54.25 kB / 0.49 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.117, allocations: 192 / 0.49 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1171, allocations: 7.938 kB / 0.49 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1171, allocations: 7.938 kB / 0.49 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1172, allocations: 55.88 kB / 0.4901 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.1174, allocations: 181.5 kB / 0.4903 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1175, allocations: 82.53 kB / 0.4903 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.1176, allocations: 28.86 kB / 0.4904 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/0.1179, allocations: 255.6 kB / 0.4906 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1179, allocations: 34.5 kB / 0.4906 GB, free: 9.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1179, allocations: 0 / 0.4906 GB, free: 9.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000232/0.1182, allocations: 105.5 kB / 0.4907 GB, free: 9.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1182, allocations: 59.41 kB / 0.4908 GB, free: 9.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/0.1183, allocations: 93.86 kB / 0.4909 GB, free: 9.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1183, allocations: 25.7 kB / 0.4909 GB, free: 9.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.1183, allocations: 80.14 kB / 0.491 GB, free: 9.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.1184, allocations: 35.45 kB / 0.491 GB, free: 8.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.1184, allocations: 25.72 kB / 0.491 GB, free: 8.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.1185, allocations: 314.8 kB / 0.4913 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.511e-05/0.1186, allocations: 16.38 kB / 0.4914 GB, free: 8.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/0.1186, allocations: 27.92 kB / 0.4914 GB, free: 8.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.1187, allocations: 52.92 kB / 0.4914 GB, free: 8.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1187, allocations: 0 / 0.4914 GB, free: 8.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000124/0.1188, allocations: 81.67 kB / 0.4915 GB, free: 8.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1189, allocations: 11.94 kB / 0.4915 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1189, allocations: 3.938 kB / 0.4915 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1189, allocations: 0 / 0.4915 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.119, allocations: 16 kB / 0.4915 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.119, allocations: 3.984 kB / 0.4916 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/0.1191, allocations: 7.906 kB / 0.4916 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1191, allocations: 7.984 kB / 0.4916 GB, free: 8.402 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.836e-05/0.1192, allocations: 117.8 kB / 0.4917 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.1192, allocations: 0 / 0.4917 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.1194, allocations: 105.5 kB / 0.4918 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1194, allocations: 0 / 0.4918 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1194, allocations: 0 / 0.4918 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1194, allocations: 0 / 0.4918 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.1195, allocations: 177.6 kB / 0.4919 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.1195, allocations: 384 / 0.4919 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.1196, allocations: 19.88 kB / 0.492 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1196, allocations: 8 kB / 0.492 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1196, allocations: 7.938 kB / 0.492 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1196, allocations: 7.922 kB / 0.492 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1196, allocations: 0 / 0.492 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.1198, allocations: 109 kB / 0.4921 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.1198, allocations: 77.11 kB / 0.4922 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1199, allocations: 11.94 kB / 0.4922 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.492e-05/0.1199, allocations: 3.984 kB / 0.4922 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.1199, allocations: 8 kB / 0.4922 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.1199, allocations: 0 / 0.4922 GB, free: 7.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.982e-05/0.12, allocations: 75.28 kB / 0.4923 GB, free: 7.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.12, allocations: 0 / 0.4923 GB, free: 7.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000199/0.1202, allocations: 16 kB / 0.4923 GB, free: 7.562 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.0001417/0.1203, allocations: 107.2 kB / 0.4924 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.1205, allocations: 55.92 kB / 0.4924 GB, free: 7.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1205, allocations: 4.094 kB / 0.4924 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/0.1205, allocations: 35.92 kB / 0.4925 GB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.1207, allocations: 10.11 kB / 0.4925 GB, free: 7.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.121, allocations: 166.5 kB / 0.4926 GB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.1213, allocations: 0.6846 MB / 0.4933 GB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.1213, allocations: 11.44 kB / 0.4933 GB, free: 6.434 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1213, allocations: 0 / 0.4933 GB, free: 6.434 MB / 382.1 MB Notification: Performance of Templates: time 0.002359/0.1237, allocations: 0.8166 MB / 0.4941 GB, free: 5.617 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