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.00133/0.001337, allocations: 108.5 kB / 17.09 MB, free: 5.973 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.001362/0.001363, allocations: 200.2 kB / 18.02 MB, free: 5.055 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.291/1.291, allocations: 205.1 MB / 223.9 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.1937/0.1937, allocations: 43.52 MB / 314.8 MB, free: 456 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.001415/0.001415, allocations: 73.45 kB / 442.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09646/0.09789, 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.001568/0.09948, allocations: 0.5729 MB / 0.4891 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003062/0.0998, allocations: 120 kB / 0.4892 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.09985, allocations: 0 / 0.4892 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.09988, allocations: 3.938 kB / 0.4893 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.1001, allocations: 47.81 kB / 0.4893 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.487e-06/0.1001, allocations: 0 / 0.4893 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.1002, allocations: 19.92 kB / 0.4893 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.1003, allocations: 0 / 0.4893 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.602e-05/0.1003, allocations: 11.94 kB / 0.4893 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.1003, allocations: 15.91 kB / 0.4893 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1004, allocations: 4 kB / 0.4893 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1005, allocations: 51.95 kB / 0.4894 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.1005, allocations: 11.86 kB / 0.4894 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.1005, allocations: 7.938 kB / 0.4894 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.1006, allocations: 39.88 kB / 0.4895 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1006, allocations: 4 kB / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1006, allocations: 0 / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1006, allocations: 3.938 kB / 0.4895 GB, free: 10.84 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.0002733/0.1009, allocations: 346.9 kB / 0.4898 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.101, allocations: 8.031 kB / 0.4898 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.101, allocations: 4.938 kB / 0.4898 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1011, allocations: 164.4 kB / 0.49 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1011, allocations: 8.312 kB / 0.49 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.1011, allocations: 4.375 kB / 0.49 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.1012, allocations: 58.25 kB / 0.49 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1013, allocations: 192 / 0.49 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1013, allocations: 3.938 kB / 0.49 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1013, allocations: 7.938 kB / 0.49 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.262e-05/0.1014, allocations: 55.94 kB / 0.4901 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.1016, allocations: 173.5 kB / 0.4903 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1017, allocations: 82.55 kB / 0.4903 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.1017, allocations: 28.84 kB / 0.4904 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.1021, allocations: 259.3 kB / 0.4906 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1021, allocations: 34.56 kB / 0.4906 GB, free: 9.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1021, allocations: 0 / 0.4906 GB, free: 9.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000212/0.1023, allocations: 105.8 kB / 0.4907 GB, free: 9.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.1023, allocations: 55.41 kB / 0.4908 GB, free: 9.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.253e-05/0.1024, allocations: 93.86 kB / 0.4909 GB, free: 9.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1024, allocations: 25.7 kB / 0.4909 GB, free: 9.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.1025, allocations: 84.14 kB / 0.491 GB, free: 9.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.1025, allocations: 39.44 kB / 0.491 GB, free: 8.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1025, allocations: 26.03 kB / 0.4911 GB, free: 8.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.1026, allocations: 314.8 kB / 0.4914 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.41e-05/0.1027, allocations: 20 kB / 0.4914 GB, free: 8.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.1027, allocations: 19.92 kB / 0.4914 GB, free: 8.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.277e-05/0.1028, allocations: 48.98 kB / 0.4914 GB, free: 8.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1028, allocations: 4 kB / 0.4914 GB, free: 8.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000115/0.1029, allocations: 85.61 kB / 0.4915 GB, free: 8.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.103, allocations: 4 kB / 0.4915 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.103, allocations: 4 kB / 0.4915 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.103, allocations: 7.938 kB / 0.4915 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.1031, allocations: 12 kB / 0.4916 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1031, allocations: 3.938 kB / 0.4916 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.1031, allocations: 7.906 kB / 0.4916 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.1031, allocations: 11.97 kB / 0.4916 GB, free: 8.395 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.522e-05/0.1032, allocations: 121.8 kB / 0.4917 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.1032, allocations: 0 / 0.4917 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.1034, allocations: 101.5 kB / 0.4918 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1034, allocations: 0 / 0.4918 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1034, allocations: 0 / 0.4918 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.1035, allocations: 85.33 kB / 0.4919 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.1035, allocations: 11.98 kB / 0.4919 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.813e-05/0.1035, allocations: 0 / 0.4919 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.1035, allocations: 3.938 kB / 0.4919 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001519/0.1037, allocations: 176.8 kB / 0.4921 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000176/0.1039, allocations: 254.7 kB / 0.4923 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.337e-05/0.1039, allocations: 31.98 kB / 0.4923 GB, free: 7.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.482e-05/0.104, allocations: 79.27 kB / 0.4924 GB, free: 7.48 MB / 382.1 MB Notification: Performance of Backend: time 3.6e-07/0.104, allocations: 0 / 0.4924 GB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.1043, allocations: 118.4 kB / 0.4925 GB, free: 7.359 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003341/0.1047, allocations: 0.5643 MB / 0.4931 GB, free: 6.746 MB / 382.1 MB Notification: Performance of Templates: time 0.00291/0.1076, allocations: 0.9622 MB / 0.494 GB, free: 5.785 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