Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001464/0.001464, allocations: 122.1 kB / 17.84 MB, free: 5.238 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.001713/0.001713, allocations: 204.6 kB / 20.79 MB, free: 2.301 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.47/1.47, allocations: 207.6 MB / 231.2 MB, free: 4.117 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.3751/0.3751, allocations: 44.23 MB / 327.3 MB, free: 6.715 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.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",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.002296/0.002296, allocations: 63.91 kB / 462.9 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2514, allocations: 61 MB / 0.5116 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001615/0.253, allocations: 0.5123 MB / 0.5121 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.2546, allocations: 1.393 MB / 0.5135 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.2546, allocations: 4 kB / 0.5135 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.2546, allocations: 0 / 0.5135 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.85e-05/0.2546, allocations: 0 / 0.5135 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006415/0.2553, allocations: 220.7 kB / 0.5137 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.662e-05/0.2553, allocations: 8.375 kB / 0.5137 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.2554, allocations: 1.062 kB / 0.5137 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.2554, allocations: 9.922 kB / 0.5137 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.2554, allocations: 5.891 kB / 0.5137 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.2554, allocations: 0.9375 kB / 0.5137 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.2558, allocations: 276.8 kB / 0.514 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.2559, allocations: 4 kB / 0.514 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.2559, allocations: 1.375 kB / 0.514 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.2561, allocations: 148.5 kB / 0.5141 GB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2561, allocations: 0 / 0.5141 GB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2561, allocations: 1.344 kB / 0.5141 GB, free: 11.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2561, 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003257/0.2564, allocations: 333.5 kB / 0.5144 GB, free: 10.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2565, allocations: 14.39 kB / 0.5145 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.652e-05/0.2565, allocations: 4.188 kB / 0.5145 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.711e-05/0.2565, allocations: 30.75 kB / 0.5145 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.2565, allocations: 6.625 kB / 0.5145 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.192e-05/0.2566, allocations: 162.2 kB / 0.5147 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.2566, allocations: 384 / 0.5147 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.2566, allocations: 384 / 0.5147 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.119e-05/0.2567, allocations: 37.38 kB / 0.5147 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2567, allocations: 0 / 0.5147 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.2567, allocations: 3.984 kB / 0.5147 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2567, allocations: 5.75 kB / 0.5147 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.992e-05/0.2567, allocations: 9.719 kB / 0.5147 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.473e-05/0.2568, allocations: 147.5 kB / 0.5148 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.402e-05/0.2569, allocations: 20.41 kB / 0.5149 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.2569, allocations: 6.641 kB / 0.5149 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/0.2569, allocations: 3.938 kB / 0.5149 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.2569, allocations: 32.34 kB / 0.5149 GB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2569, allocations: 4 kB / 0.5149 GB, free: 10.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001223/0.257, allocations: 40.67 kB / 0.515 GB, free: 10.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.257, allocations: 51.41 kB / 0.515 GB, free: 10.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.626e-05/0.2571, allocations: 97.38 kB / 0.5151 GB, free: 10.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.2571, allocations: 25.7 kB / 0.5151 GB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.099e-05/0.2571, allocations: 80.14 kB / 0.5152 GB, free: 10.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.2571, allocations: 5.797 kB / 0.5152 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.2571, allocations: 15.75 kB / 0.5152 GB, free: 10.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.2572, allocations: 318.8 kB / 0.5155 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.2572, allocations: 1.75 kB / 0.5155 GB, free: 9.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.2572, allocations: 1.781 kB / 0.5155 GB, free: 9.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.309e-05/0.2572, allocations: 12.45 kB / 0.5155 GB, free: 9.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2572, allocations: 0 / 0.5155 GB, free: 9.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.037e-05/0.2573, allocations: 44.75 kB / 0.5156 GB, free: 9.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2573, allocations: 4.031 kB / 0.5156 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2573, allocations: 4.094 kB / 0.5156 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.2573, allocations: 2.281 kB / 0.5156 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.2574, allocations: 2 kB / 0.5156 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.2574, allocations: 0 / 0.5156 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.224e-05/0.2574, allocations: 0 / 0.5156 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.2574, allocations: 0 / 0.5156 GB, free: 9.652 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 (1): * Single equations (assignments): 1 * 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 4.049e-05/0.2574, allocations: 112.3 kB / 0.5157 GB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.2574, allocations: 7.922 kB / 0.5157 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.864e-05/0.2575, allocations: 46.23 kB / 0.5157 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2575, allocations: 0 / 0.5157 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2575, allocations: 0 / 0.5157 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2575, allocations: 2.625 kB / 0.5157 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.083e-05/0.2576, allocations: 149.7 kB / 0.5159 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.2576, allocations: 5.5 kB / 0.5159 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-07/0.2576, allocations: 0 / 0.5159 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2576, allocations: 2.125 kB / 0.5159 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.2576, allocations: 0 / 0.5159 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2576, allocations: 4.031 kB / 0.5159 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2576, allocations: 0 / 0.5159 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.337e-05/0.2577, allocations: 61.62 kB / 0.516 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.2577, allocations: 92.28 kB / 0.516 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.2577, allocations: 0 / 0.516 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.2578, allocations: 3.984 kB / 0.5161 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.2578, allocations: 7.062 kB / 0.5161 GB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.2578, allocations: 4.031 kB / 0.5161 GB, free: 9.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.852e-05/0.2578, allocations: 78.19 kB / 0.5161 GB, free: 9.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2578, allocations: 0 / 0.5161 GB, free: 9.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.2581, allocations: 35.81 kB / 0.5162 GB, free: 9.012 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.0003555/0.2584, allocations: 0.6465 MB / 0.5168 GB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.103e-05/0.2585, allocations: 12.27 kB / 0.5168 GB, free: 8.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2585, allocations: 0.9688 kB / 0.5168 GB, free: 8.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.2585, allocations: 31.92 kB / 0.5168 GB, free: 8.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.2587, allocations: 2.312 kB / 0.5168 GB, free: 8.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.259, allocations: 130.4 kB / 0.517 GB, free: 8.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.069e-05/0.2591, allocations: 0.6703 MB / 0.5176 GB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.587e-05/0.2591, allocations: 5.562 kB / 0.5176 GB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.2591, allocations: 12.73 kB / 0.5176 GB, free: 7.48 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2591, allocations: 0 / 0.5176 GB, free: 7.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.2753, allocations: 1.892 MB / 0.5195 GB, free: 6.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.386/8.662, allocations: 2.75 kB / 0.5195 GB, free: 6.32 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.575758330989629]