Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.001776/0.001776, allocations: 109 kB / 20.48 MB, free: 1.492 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.00252/0.00252, allocations: 213.7 kB / 23.79 MB, free: 4.707 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.406/1.406, allocations: 207.6 MB / 234.6 MB, free: 10.01 MB / 190.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.214/0.214, allocations: 44.24 MB / 331.1 MB, free: 9.527 MB / 270.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.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",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.002268/0.002268, allocations: 75.38 kB / 468.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1113, allocations: 61.03 MB / 0.5169 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002926/0.1142, allocations: 1.477 MB / 0.5184 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.1164, allocations: 1.477 MB / 0.5198 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.1165, allocations: 0 / 0.5198 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1166, allocations: 31.78 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.1168, allocations: 47.7 kB / 0.5199 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.1173, allocations: 223.1 kB / 0.5201 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1175, allocations: 63.64 kB / 0.5201 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.1175, allocations: 7.984 kB / 0.5202 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.239e-05/0.1176, allocations: 27.86 kB / 0.5202 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.1176, allocations: 23.86 kB / 0.5202 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1176, allocations: 4 kB / 0.5202 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005585/0.1182, allocations: 339.5 kB / 0.5205 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.1182, allocations: 4 kB / 0.5205 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.1183, allocations: 27.81 kB / 0.5206 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.1187, allocations: 279.2 kB / 0.5208 GB, free: 3.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1187, allocations: 0 / 0.5208 GB, free: 3.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1187, allocations: 0 / 0.5208 GB, free: 3.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1187, allocations: 4 kB / 0.5208 GB, free: 3.293 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005469/0.1193, allocations: 341.5 kB / 0.5212 GB, free: 2.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1193, allocations: 8.031 kB / 0.5212 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.302e-05/0.1193, allocations: 4.188 kB / 0.5212 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.1193, allocations: 42.73 kB / 0.5212 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.1194, allocations: 4.891 kB / 0.5212 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1195, allocations: 118.4 kB / 0.5213 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1195, allocations: 384 / 0.5213 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.1195, allocations: 12.12 kB / 0.5213 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1196, allocations: 65.67 kB / 0.5214 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1197, allocations: 3.953 kB / 0.5214 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1197, allocations: 0 / 0.5214 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1197, allocations: 8 kB / 0.5214 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1198, allocations: 59.95 kB / 0.5215 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.12, allocations: 156.7 kB / 0.5216 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.359e-05/0.1201, allocations: 62.42 kB / 0.5217 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.1201, allocations: 44.78 kB / 0.5217 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.213e-05/0.1202, allocations: 16 kB / 0.5217 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1202, allocations: 34.56 kB / 0.5218 GB, free: 2.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.1202, allocations: 0 / 0.5218 GB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02113/0.1413, allocations: 1.627 MB / 0.5234 GB, free: 0.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.1414, allocations: 51.41 kB / 0.5234 GB, free: 492 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1415, allocations: 138 kB / 0.5235 GB, free: 344 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.1415, allocations: 29.7 kB / 0.5236 GB, free: 308 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.1416, allocations: 99.98 kB / 0.5237 GB, free: 204 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.1417, allocations: 39.64 kB / 0.5237 GB, free: 164 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.1418, allocations: 45.69 kB / 0.5237 GB, free: 112 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1419, allocations: 326.8 kB / 0.5241 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006896/0.1426, allocations: 199.9 kB / 0.5242 GB, free: 15.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006632/0.1433, allocations: 203.9 kB / 0.5244 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.1447, allocations: 388.7 kB / 0.5248 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1447, allocations: 4 kB / 0.5248 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001482/0.1462, allocations: 453.5 kB / 0.5253 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1462, allocations: 11.98 kB / 0.5253 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1462, allocations: 4 kB / 0.5253 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.1462, allocations: 0 / 0.5253 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/0.1468, allocations: 67.88 kB / 0.5253 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1468, allocations: 4 kB / 0.5253 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.1472, allocations: 35.95 kB / 0.5254 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.1472, allocations: 4.156 kB / 0.5254 GB, free: 14.43 MB / 414.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: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 0.0001354/0.1474, allocations: 129.8 kB / 0.5255 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.1474, allocations: 7.953 kB / 0.5255 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.1489, allocations: 374 kB / 0.5259 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.1489, allocations: 3.984 kB / 0.5259 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1489, allocations: 0 / 0.5259 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1489, allocations: 4 kB / 0.5259 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.1521, allocations: 0.7535 MB / 0.5266 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.1521, allocations: 4 kB / 0.5266 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.1526, allocations: 64.03 kB / 0.5267 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.1526, allocations: 4 kB / 0.5267 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.1526, allocations: 8.078 kB / 0.5267 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-06/0.1526, allocations: 7.875 kB / 0.5267 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.1526, allocations: 3.938 kB / 0.5267 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.1541, allocations: 429.8 kB / 0.5271 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.1542, allocations: 31.88 kB / 0.5271 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.1543, allocations: 0 / 0.5271 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/0.1547, allocations: 47.89 kB / 0.5272 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.1548, allocations: 19.91 kB / 0.5272 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.1548, allocations: 7.984 kB / 0.5272 GB, free: 12.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.44e-05/0.1549, allocations: 99.06 kB / 0.5273 GB, free: 12.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1549, allocations: 0 / 0.5273 GB, free: 12.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000593/0.1555, allocations: 175.5 kB / 0.5275 GB, free: 12.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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.002374/0.1578, allocations: 1.097 MB / 0.5285 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.1593, allocations: 359.7 kB / 0.5289 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1593, allocations: 0 / 0.5289 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000626/0.1599, allocations: 148 kB / 0.529 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.1603, allocations: 15.98 kB / 0.529 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007355/0.1676, allocations: 2.776 MB / 0.5317 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.168, allocations: 0.6963 MB / 0.5324 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.1682, allocations: 40.88 kB / 0.5325 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.1684, allocations: 43.41 kB / 0.5325 GB, free: 6.852 MB / 414.1 MB Notification: Performance of SimCode: time 1.412e-06/0.1684, allocations: 0 / 0.5325 GB, free: 6.852 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2352/0.4036, allocations: 10.13 MB / 0.5424 GB, free: 28.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.97, allocations: 9.812 kB / 0.5424 GB, free: 28.41 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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: 14.917669699003454]