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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 120.3 kB / 17.83 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002113/0.002113, allocations: 199.9 kB / 20.79 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 207.6 MB / 231.2 MB, free: 4.074 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.369/0.369, allocations: 44.23 MB / 327.3 MB, free: 6.652 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003492/0.003492, allocations: 67.91 kB / 463 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2944, allocations: 61.01 MB / 0.5117 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001626/0.2961, allocations: 0.5771 MB / 0.5123 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003489/0.2964, allocations: 118.6 kB / 0.5124 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.2964, allocations: 5.031 kB / 0.5124 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.2965, allocations: 3.938 kB / 0.5124 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.2967, allocations: 41.33 kB / 0.5124 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.449e-06/0.2967, allocations: 0 / 0.5124 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.15e-05/0.2968, allocations: 29.16 kB / 0.5125 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.2968, allocations: 1.094 kB / 0.5125 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.072e-05/0.2969, allocations: 12.41 kB / 0.5125 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.2969, allocations: 7.422 kB / 0.5125 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.2969, allocations: 1.156 kB / 0.5125 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.297, allocations: 60.81 kB / 0.5125 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.2971, allocations: 5.125 kB / 0.5125 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.2971, allocations: 12.98 kB / 0.5125 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.2972, allocations: 43.48 kB / 0.5126 GB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2972, allocations: 0 / 0.5126 GB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2972, allocations: 1 kB / 0.5126 GB, free: 12.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2972, allocations: 0 / 0.5126 GB, free: 12.46 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.0002908/0.2975, allocations: 341.4 kB / 0.5129 GB, free: 12.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.2975, allocations: 13.55 kB / 0.5129 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.948e-05/0.2976, allocations: 5.406 kB / 0.5129 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.245e-05/0.2976, allocations: 39.98 kB / 0.513 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.2976, allocations: 3.219 kB / 0.513 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.636e-05/0.2977, allocations: 173.5 kB / 0.5131 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2977, allocations: 3.062 kB / 0.5131 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.2977, allocations: 7 kB / 0.5132 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.2979, allocations: 64.67 kB / 0.5132 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2979, allocations: 0 / 0.5132 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.2979, allocations: 0 / 0.5132 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2979, allocations: 5.359 kB / 0.5132 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.298, allocations: 58.83 kB / 0.5133 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.2981, allocations: 167.1 kB / 0.5134 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.2983, allocations: 70.33 kB / 0.5135 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.2983, allocations: 28.97 kB / 0.5135 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.2986, allocations: 249.2 kB / 0.5138 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.2986, allocations: 48.39 kB / 0.5138 GB, free: 11.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.2986, allocations: 0 / 0.5138 GB, free: 11.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002708/0.2989, allocations: 102.5 kB / 0.5139 GB, free: 11.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.2989, allocations: 52.56 kB / 0.514 GB, free: 11.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.779e-05/0.299, allocations: 94.91 kB / 0.5141 GB, free: 10.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.299, allocations: 26.77 kB / 0.5141 GB, free: 10.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.212e-05/0.299, allocations: 84.09 kB / 0.5142 GB, free: 10.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.299, allocations: 28.22 kB / 0.5142 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.2991, allocations: 36.55 kB / 0.5142 GB, free: 10.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.2991, allocations: 311.9 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.755e-05/0.2992, allocations: 21.39 kB / 0.5145 GB, free: 10.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/0.2992, allocations: 19.45 kB / 0.5146 GB, free: 10.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.6e-05/0.2993, allocations: 49.08 kB / 0.5146 GB, free: 10.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2993, allocations: 1.188 kB / 0.5146 GB, free: 10.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000124/0.2994, allocations: 87.55 kB / 0.5147 GB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2994, allocations: 9.344 kB / 0.5147 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2994, allocations: 4 kB / 0.5147 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2994, allocations: 2.125 kB / 0.5147 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.2995, allocations: 16.17 kB / 0.5147 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2995, allocations: 7.875 kB / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.2996, allocations: 5.625 kB / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.2996, allocations: 2.156 kB / 0.5147 GB, free: 10.29 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 5.432e-05/0.2996, allocations: 112.6 kB / 0.5148 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.2996, allocations: 9.828 kB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.2998, allocations: 116.1 kB / 0.515 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2998, allocations: 0 / 0.515 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2998, allocations: 1.688 kB / 0.515 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2998, allocations: 0 / 0.515 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.847e-05/0.2999, allocations: 170 kB / 0.5151 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2999, allocations: 0 / 0.5151 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.3, allocations: 15.92 kB / 0.5151 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3, allocations: 3.938 kB / 0.5151 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3, allocations: 6.656 kB / 0.5151 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3, allocations: 0 / 0.5151 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3, allocations: 0 / 0.5151 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.3001, allocations: 116.8 kB / 0.5153 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.3001, allocations: 81.7 kB / 0.5153 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3001, allocations: 5.062 kB / 0.5153 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.384e-05/0.3002, allocations: 1.562 kB / 0.5153 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.3002, allocations: 6.828 kB / 0.5154 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3002, allocations: 2.438 kB / 0.5154 GB, free: 9.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.761e-05/0.3002, allocations: 84.28 kB / 0.5154 GB, free: 9.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3002, allocations: 3.938 kB / 0.5154 GB, free: 9.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002006/0.3004, allocations: 15.16 kB / 0.5155 GB, free: 9.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.0003138/0.3007, allocations: 0.6592 MB / 0.5161 GB, free: 8.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.3009, allocations: 54.75 kB / 0.5161 GB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3009, allocations: 1.562 kB / 0.5161 GB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.3009, allocations: 24.28 kB / 0.5162 GB, free: 8.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.3011, allocations: 10.28 kB / 0.5162 GB, free: 8.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.3015, allocations: 187.1 kB / 0.5164 GB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.3016, allocations: 0.6802 MB / 0.517 GB, free: 8.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.374e-05/0.3016, allocations: 8.281 kB / 0.517 GB, free: 8.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.3017, allocations: 19.56 kB / 0.5171 GB, free: 7.988 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3017, allocations: 0 / 0.5171 GB, free: 7.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.3174, allocations: 1.608 MB / 0.5186 GB, free: 7.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/8.601, allocations: 6.5 kB / 0.5186 GB, free: 7.004 MB / 382.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.63004577200627]