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.001324/0.001324, allocations: 109.2 kB / 16.41 MB, free: 6.445 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.001333/0.001333, allocations: 185 kB / 17.34 MB, free: 5.742 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.507/1.507, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2138/0.2138, allocations: 43.52 MB / 314.1 MB, free: 460 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.001374/0.001374, allocations: 64.23 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1233, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001689/0.1251, allocations: 0.5765 MB / 0.4885 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003653/0.1254, allocations: 124 kB / 0.4886 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.791e-05/0.1255, allocations: 0 / 0.4886 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.1255, allocations: 4 kB / 0.4886 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.1258, allocations: 31.84 kB / 0.4886 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.877e-06/0.1258, allocations: 4 kB / 0.4886 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.471e-05/0.1259, allocations: 19.92 kB / 0.4886 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.1259, allocations: 4 kB / 0.4887 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.316e-05/0.1259, allocations: 15.91 kB / 0.4887 GB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/0.126, allocations: 19.86 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.126, allocations: 0 / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1261, allocations: 51.95 kB / 0.4887 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.1262, allocations: 3.938 kB / 0.4887 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.828e-05/0.1262, allocations: 11.94 kB / 0.4888 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.1263, allocations: 35.88 kB / 0.4888 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1263, allocations: 8 kB / 0.4888 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1263, allocations: 0 / 0.4888 GB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1263, allocations: 0 / 0.4888 GB, free: 10.87 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.000331/0.1267, allocations: 347.4 kB / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1267, allocations: 12.03 kB / 0.4891 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.1267, allocations: 0.9375 kB / 0.4891 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1269, allocations: 168.3 kB / 0.4893 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1269, allocations: 384 / 0.4893 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.1269, allocations: 4.375 kB / 0.4893 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.127, allocations: 66.22 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.127, allocations: 4.188 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1271, allocations: 3.938 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1271, allocations: 0 / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.1272, allocations: 59.83 kB / 0.4894 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.1274, allocations: 179.8 kB / 0.4896 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.1275, allocations: 78.55 kB / 0.4897 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/0.1276, allocations: 32.84 kB / 0.4897 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003454/0.1279, allocations: 251.6 kB / 0.4899 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.128, allocations: 38.5 kB / 0.49 GB, free: 9.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.128, allocations: 0 / 0.49 GB, free: 9.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002338/0.1282, allocations: 109.5 kB / 0.4901 GB, free: 9.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.1283, allocations: 51.41 kB / 0.4901 GB, free: 9.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.1284, allocations: 93.86 kB / 0.4902 GB, free: 9.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1284, allocations: 29.7 kB / 0.4903 GB, free: 9.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.1284, allocations: 84.12 kB / 0.4903 GB, free: 9.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.1285, allocations: 31.47 kB / 0.4904 GB, free: 9.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.1285, allocations: 25.7 kB / 0.4904 GB, free: 8.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1286, allocations: 315.2 kB / 0.4907 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.1287, allocations: 19.98 kB / 0.4907 GB, free: 8.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.99e-05/0.1287, allocations: 19.94 kB / 0.4907 GB, free: 8.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.984e-05/0.1288, allocations: 52.78 kB / 0.4908 GB, free: 8.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1288, allocations: 4.125 kB / 0.4908 GB, free: 8.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001395/0.1289, allocations: 85.69 kB / 0.4909 GB, free: 8.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.129, allocations: 7.938 kB / 0.4909 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.129, allocations: 3.938 kB / 0.4909 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.129, allocations: 0 / 0.4909 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1291, allocations: 15.98 kB / 0.4909 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1291, allocations: 4 kB / 0.4909 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.1291, allocations: 7.906 kB / 0.4909 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.1292, allocations: 0 / 0.4909 GB, free: 8.43 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.849e-05/0.1292, allocations: 121.8 kB / 0.491 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.1293, allocations: 4 kB / 0.491 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.1295, allocations: 97.52 kB / 0.4911 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1295, allocations: 0 / 0.4911 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1295, allocations: 0 / 0.4911 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1295, allocations: 7.984 kB / 0.4911 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.1297, allocations: 170 kB / 0.4913 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1297, allocations: 0 / 0.4913 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/0.1298, allocations: 23.92 kB / 0.4913 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1298, allocations: 3.938 kB / 0.4913 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1298, allocations: 15.88 kB / 0.4913 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1298, allocations: 0 / 0.4913 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1298, allocations: 0 / 0.4913 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.1299, allocations: 109 kB / 0.4914 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.13, allocations: 85.09 kB / 0.4915 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.13, allocations: 7.938 kB / 0.4915 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/0.13, allocations: 0 / 0.4915 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.1301, allocations: 4 kB / 0.4915 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1301, allocations: 4 kB / 0.4915 GB, free: 7.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.001e-05/0.1301, allocations: 87.27 kB / 0.4916 GB, free: 7.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1301, allocations: 0 / 0.4916 GB, free: 7.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001919/0.1303, allocations: 12 kB / 0.4916 GB, free: 7.582 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.0001598/0.1305, allocations: 107.2 kB / 0.4917 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1306, allocations: 55.91 kB / 0.4918 GB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1306, allocations: 0 / 0.4918 GB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.998e-05/0.1307, allocations: 32.03 kB / 0.4918 GB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.1308, allocations: 11.44 kB / 0.4918 GB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.1312, allocations: 140.8 kB / 0.492 GB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1314, allocations: 0.6807 MB / 0.4926 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.522e-05/0.1315, allocations: 15.97 kB / 0.4926 GB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.1315, allocations: 11.44 kB / 0.4926 GB, free: 6.477 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1315, allocations: 4.469 kB / 0.4926 GB, free: 6.473 MB / 382.1 MB Notification: Performance of Templates: time 0.002757/0.1343, allocations: 0.6485 MB / 0.4933 GB, free: 5.824 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/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