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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 112.9 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 192.6 kB / 20.08 MB, free: 2.852 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.382/1.382, allocations: 207.6 MB / 230.5 MB, free: 4.062 MB / 174.1 MB " [Timeout remaining time 179] 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.3011/0.3011, allocations: 44.22 MB / 326.5 MB, free: 7.238 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.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002205/0.002205, allocations: 71.89 kB / 462.2 MB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2646, allocations: 60.99 MB / 0.5109 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001412/0.266, allocations: 0.505 MB / 0.5114 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2674, allocations: 1.395 MB / 0.5127 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.2674, allocations: 1.156 kB / 0.5127 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.2674, allocations: 4 kB / 0.5127 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.783e-05/0.2674, allocations: 3.938 kB / 0.5128 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.268, allocations: 224.4 kB / 0.513 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.016e-05/0.2681, allocations: 6.672 kB / 0.513 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.277e-05/0.2681, allocations: 0 / 0.513 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.2681, allocations: 10.53 kB / 0.513 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.2682, allocations: 10.8 kB / 0.513 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.2682, allocations: 0 / 0.513 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.2685, allocations: 268.9 kB / 0.5132 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.2685, allocations: 0 / 0.5132 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.2685, allocations: 10.17 kB / 0.5133 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.2687, allocations: 139.7 kB / 0.5134 GB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2687, allocations: 0 / 0.5134 GB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2687, allocations: 0 / 0.5134 GB, free: 11.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.2687, allocations: 1.125 kB / 0.5134 GB, free: 11.25 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.0002819/0.269, allocations: 338 kB / 0.5137 GB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.269, allocations: 14.2 kB / 0.5137 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.078e-05/0.2691, allocations: 34.73 kB / 0.5138 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.262e-05/0.2691, allocations: 2.281 kB / 0.5138 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.424e-05/0.2691, allocations: 164.3 kB / 0.5139 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.2691, allocations: 5.688 kB / 0.5139 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.2692, allocations: 1.844 kB / 0.5139 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.2693, allocations: 44 kB / 0.514 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2693, allocations: 0 / 0.514 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.2693, allocations: 0 / 0.514 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2693, allocations: 0 / 0.514 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.2693, allocations: 9.469 kB / 0.514 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.2696, allocations: 243.6 kB / 0.5142 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.394e-05/0.2696, allocations: 24.45 kB / 0.5142 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.313e-05/0.2696, allocations: 6.703 kB / 0.5142 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-06/0.2696, allocations: 0 / 0.5142 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.2696, allocations: 36.53 kB / 0.5143 GB, free: 10.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.2696, allocations: 0 / 0.5143 GB, free: 10.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.2698, allocations: 39.53 kB / 0.5143 GB, free: 10.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.2698, allocations: 51.53 kB / 0.5144 GB, free: 10.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.328e-05/0.2698, allocations: 97.61 kB / 0.5145 GB, free: 10.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.2698, allocations: 29.7 kB / 0.5145 GB, free: 9.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.121e-05/0.2698, allocations: 85.97 kB / 0.5146 GB, free: 9.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-06/0.2698, allocations: 3.953 kB / 0.5146 GB, free: 9.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.2699, allocations: 17.45 kB / 0.5146 GB, free: 9.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.904e-05/0.2699, allocations: 318.8 kB / 0.5149 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.2699, allocations: 1.969 kB / 0.5149 GB, free: 9.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.2699, allocations: 26.67 kB / 0.5149 GB, free: 9.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.27, allocations: 28.14 kB / 0.5149 GB, free: 9.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.27, allocations: 0 / 0.5149 GB, free: 9.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.758e-05/0.27, allocations: 50.34 kB / 0.515 GB, free: 9.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.27, allocations: 9.5 kB / 0.515 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.27, allocations: 1.406 kB / 0.515 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2701, allocations: 1.5 kB / 0.515 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.882e-05/0.2701, allocations: 8.484 kB / 0.515 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2701, allocations: 5.406 kB / 0.515 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.2701, allocations: 1.688 kB / 0.515 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.2701, allocations: 1.375 kB / 0.515 GB, free: 9.438 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 3.809e-05/0.2702, allocations: 115.2 kB / 0.5151 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.2702, allocations: 1.469 kB / 0.5151 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.991e-05/0.2703, allocations: 56.61 kB / 0.5152 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2703, allocations: 0 / 0.5152 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2703, allocations: 1.562 kB / 0.5152 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.2703, allocations: 0 / 0.5152 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.885e-05/0.2704, allocations: 148.3 kB / 0.5153 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2704, allocations: 0 / 0.5153 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-06/0.2704, allocations: 5.766 kB / 0.5153 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.2704, allocations: 0 / 0.5153 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-06/0.2704, allocations: 4.031 kB / 0.5153 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2704, allocations: 1.375 kB / 0.5153 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2704, allocations: 0 / 0.5153 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.852e-05/0.2705, allocations: 138.9 kB / 0.5155 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.2705, allocations: 78.55 kB / 0.5155 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.2705, allocations: 3.984 kB / 0.5155 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.775e-05/0.2705, allocations: 5.406 kB / 0.5156 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.2706, allocations: 4.031 kB / 0.5156 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.2706, allocations: 1.562 kB / 0.5156 GB, free: 8.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.62e-05/0.2706, allocations: 76.69 kB / 0.5156 GB, free: 8.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2706, allocations: 1.375 kB / 0.5156 GB, free: 8.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.2709, allocations: 41.44 kB / 0.5157 GB, free: 8.727 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.0003395/0.2712, allocations: 0.7105 MB / 0.5164 GB, free: 8.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.679e-05/0.2713, allocations: 15.28 kB / 0.5164 GB, free: 8.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2713, allocations: 9.875 kB / 0.5164 GB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.2713, allocations: 27.55 kB / 0.5164 GB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.2715, allocations: 1.781 kB / 0.5164 GB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.2719, allocations: 128.2 kB / 0.5165 GB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.613e-05/0.272, allocations: 0.6844 MB / 0.5172 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.058e-05/0.272, allocations: 0 / 0.5172 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.272, allocations: 9.25 kB / 0.5172 GB, free: 7.125 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.272, allocations: 0 / 0.5172 GB, free: 7.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.2936, allocations: 1.847 MB / 0.519 GB, free: 6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.395, allocations: 4.188 kB / 0.519 GB, free: 6 MB / 382.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.975397305097431]