Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001747/0.001747, allocations: 126.2 kB / 17.84 MB, free: 5.223 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.002046/0.002046, allocations: 203.8 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.416/1.416, allocations: 207.6 MB / 231.2 MB, free: 4.094 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.3741/0.3741, allocations: 44.23 MB / 327.3 MB, free: 6.695 MB / 254.1 MB " [Timeout remaining time 179] 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.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",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.002231/0.002231, allocations: 67.89 kB / 462.9 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2948, allocations: 61 MB / 0.5116 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001617/0.2964, allocations: 0.5064 MB / 0.5121 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.2979, allocations: 1.393 MB / 0.5135 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.298, allocations: 4 kB / 0.5135 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.298, allocations: 0 / 0.5135 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.118e-05/0.298, allocations: 0 / 0.5135 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.2987, allocations: 220.3 kB / 0.5137 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.583e-05/0.2987, allocations: 8.328 kB / 0.5137 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.665e-05/0.2988, allocations: 2.125 kB / 0.5137 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.995e-05/0.2988, allocations: 10.02 kB / 0.5137 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.078e-05/0.2989, allocations: 10.05 kB / 0.5137 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.2989, allocations: 0.875 kB / 0.5137 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.2993, allocations: 268.9 kB / 0.514 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.2993, allocations: 7.938 kB / 0.514 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.2993, allocations: 1.219 kB / 0.514 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.2995, allocations: 145 kB / 0.5141 GB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2995, allocations: 0 / 0.5141 GB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2995, allocations: 0 / 0.5141 GB, free: 11.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.2995, allocations: 0 / 0.5141 GB, free: 11.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003382/0.2998, allocations: 339.1 kB / 0.5145 GB, free: 10.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.2999, allocations: 12.98 kB / 0.5145 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.503e-05/0.2999, allocations: 2 kB / 0.5145 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.077e-05/0.2999, allocations: 34.75 kB / 0.5145 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.2999, allocations: 6.734 kB / 0.5145 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.404e-05/0.3, allocations: 160.4 kB / 0.5147 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3, allocations: 4.375 kB / 0.5147 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.3, allocations: 2.188 kB / 0.5147 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3002, allocations: 39 kB / 0.5147 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3002, allocations: 0 / 0.5147 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.3002, allocations: 1.688 kB / 0.5147 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3002, allocations: 0 / 0.5147 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.329e-05/0.3002, allocations: 13.22 kB / 0.5147 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.3005, allocations: 244.1 kB / 0.5149 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.668e-05/0.3006, allocations: 16.33 kB / 0.515 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.3006, allocations: 10.64 kB / 0.515 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.3006, allocations: 3.938 kB / 0.515 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.3006, allocations: 32.41 kB / 0.515 GB, free: 10.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.093e-06/0.3006, allocations: 4 kB / 0.515 GB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001435/0.3008, allocations: 35.02 kB / 0.515 GB, free: 10.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.3008, allocations: 55.39 kB / 0.5151 GB, free: 10.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.83e-05/0.3008, allocations: 97.58 kB / 0.5152 GB, free: 10.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.3008, allocations: 25.7 kB / 0.5152 GB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.509e-05/0.3009, allocations: 86.38 kB / 0.5153 GB, free: 9.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.594e-06/0.3009, allocations: 7.891 kB / 0.5153 GB, free: 9.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.3009, allocations: 22.06 kB / 0.5153 GB, free: 9.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.301, allocations: 318.8 kB / 0.5156 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.301, allocations: 1.094 kB / 0.5156 GB, free: 9.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/0.301, allocations: 18.3 kB / 0.5156 GB, free: 9.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.301, allocations: 30.05 kB / 0.5157 GB, free: 9.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.301, allocations: 4 kB / 0.5157 GB, free: 9.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.061e-05/0.3011, allocations: 50.06 kB / 0.5157 GB, free: 9.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3011, allocations: 5.844 kB / 0.5157 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3011, allocations: 3.984 kB / 0.5157 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3011, allocations: 3.031 kB / 0.5157 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/0.3012, allocations: 3.25 kB / 0.5157 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3012, allocations: 5.172 kB / 0.5158 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.3012, allocations: 1.156 kB / 0.5158 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3012, allocations: 9.219 kB / 0.5158 GB, free: 9.484 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.535e-05/0.3013, allocations: 120 kB / 0.5159 GB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.3013, allocations: 1.625 kB / 0.5159 GB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.851e-05/0.3014, allocations: 45.06 kB / 0.5159 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3014, allocations: 0 / 0.5159 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3014, allocations: 0 / 0.5159 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.3014, allocations: 0 / 0.5159 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.3015, allocations: 153 kB / 0.5161 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3015, allocations: 0 / 0.5161 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-06/0.3015, allocations: 2.625 kB / 0.5161 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.3015, allocations: 0 / 0.5161 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3015, allocations: 3.984 kB / 0.5161 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3015, allocations: 0 / 0.5161 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3015, allocations: 0 / 0.5161 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.915e-05/0.3016, allocations: 138.9 kB / 0.5162 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.3016, allocations: 82.52 kB / 0.5163 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.3016, allocations: 1.375 kB / 0.5163 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.549e-05/0.3017, allocations: 3.984 kB / 0.5163 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.3017, allocations: 1.375 kB / 0.5163 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.3017, allocations: 1.375 kB / 0.5163 GB, free: 8.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.387e-05/0.3017, allocations: 84.59 kB / 0.5164 GB, free: 8.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3017, allocations: 0 / 0.5164 GB, free: 8.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.302, allocations: 42.34 kB / 0.5164 GB, free: 8.777 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004128/0.3024, allocations: 0.715 MB / 0.5171 GB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.742e-05/0.3025, allocations: 14.41 kB / 0.5171 GB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3025, allocations: 0.875 kB / 0.5171 GB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.603e-05/0.3025, allocations: 27.86 kB / 0.5172 GB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3027, allocations: 10.28 kB / 0.5172 GB, free: 8.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.3031, allocations: 130.2 kB / 0.5173 GB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.3032, allocations: 0.6749 MB / 0.5179 GB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.065e-05/0.3032, allocations: 1.312 kB / 0.5179 GB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.3033, allocations: 10.22 kB / 0.518 GB, free: 7.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3033, allocations: 0 / 0.518 GB, free: 7.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.3199, allocations: 1.892 MB / 0.5198 GB, free: 6.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/8.705, allocations: 6.734 kB / 0.5198 GB, free: 6.016 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.567055043997243]