Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.001702/0.001702, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002314/0.002314, allocations: 212 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2224/0.2224, allocations: 44.94 MB / 358.9 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00209/0.00209, allocations: 63.91 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3513, allocations: 65.48 MB / 0.557 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.205/0.5564, allocations: 160 MB / 0.7132 GB, free: 6.824 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008376/0.5647, allocations: 4.607 MB / 0.7177 GB, free: 2.203 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006964/0.5654, allocations: 19.81 kB / 0.7177 GB, free: 2.184 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.5666, allocations: 337.8 kB / 0.7181 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0065/0.5731, allocations: 2.167 MB / 0.7202 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.5761, allocations: 0.9383 MB / 0.7211 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002503/0.5786, allocations: 1.691 MB / 0.7227 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007495/0.5794, allocations: 378.4 kB / 0.7231 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.5815, allocations: 0.8878 MB / 0.724 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009439/0.5825, allocations: 0.498 MB / 0.7245 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.5826, allocations: 56 kB / 0.7245 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003632/0.5862, allocations: 1.264 MB / 0.7257 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003219/0.5865, allocations: 179.3 kB / 0.7259 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007052/0.5872, allocations: 318.7 kB / 0.7262 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004809/0.592, allocations: 1.799 MB / 0.728 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.592, allocations: 0 / 0.728 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.592, allocations: 4 kB / 0.728 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.405e-05/0.5921, allocations: 0 / 0.728 GB, free: 7.664 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003077/0.5952, allocations: 1.095 MB / 0.7291 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5952, allocations: 8.031 kB / 0.7291 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/0.5954, allocations: 82.53 kB / 0.7291 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.5968, allocations: 171.5 kB / 0.7293 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.5979, allocations: 441.5 kB / 0.7297 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.5979, allocations: 41 kB / 0.7298 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/0.598, allocations: 43.94 kB / 0.7298 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.5995, allocations: 1.045 MB / 0.7308 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.5995, allocations: 4 kB / 0.7308 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.5996, allocations: 20 kB / 0.7308 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.5996, allocations: 12 kB / 0.7309 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.6007, allocations: 495.5 kB / 0.7313 GB, free: 4.02 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003436/0.6041, allocations: 2.09 MB / 0.7334 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007219/0.6048, allocations: 296.5 kB / 0.7337 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.6051, allocations: 140.8 kB / 0.7338 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.6054, allocations: 59.89 kB / 0.7338 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.6054, allocations: 42.5 kB / 0.7339 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.6054, allocations: 0 / 0.7339 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001737/0.6071, allocations: 0.6234 MB / 0.7345 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.6073, allocations: 158.2 kB / 0.7346 GB, free: 484 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2459/0.8532, allocations: 0.5093 MB / 0.7351 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.8533, allocations: 32.39 kB / 0.7352 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.8536, allocations: 301.2 kB / 0.7355 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.8537, allocations: 135.3 kB / 0.7356 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.8539, allocations: 118.7 kB / 0.7357 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.854, allocations: 365 kB / 0.7361 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.8544, allocations: 144.2 kB / 0.7362 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.8548, allocations: 420.1 kB / 0.7366 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007315/0.8556, allocations: 471.9 kB / 0.737 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.8556, allocations: 1.125 kB / 0.737 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001228/0.8568, allocations: 0.5775 MB / 0.7376 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.8568, allocations: 9.875 kB / 0.7376 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.8568, allocations: 4.844 kB / 0.7376 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.8584, allocations: 241.3 kB / 0.7379 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.8588, allocations: 114.6 kB / 0.738 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003285/0.8592, allocations: 0.5903 MB / 0.7385 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003748/0.8595, allocations: 55.91 kB / 0.7386 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-05/0.8596, allocations: 52.67 kB / 0.7386 GB, free: 176.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000274/0.8599, allocations: 194.5 kB / 0.7388 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.86, allocations: 63.16 kB / 0.7389 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.8615, allocations: 1.105 MB / 0.74 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.8615, allocations: 6.719 kB / 0.74 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.8615, allocations: 0 / 0.74 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8615, allocations: 3.25 kB / 0.74 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.8626, allocations: 0.9109 MB / 0.7409 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8626, allocations: 0 / 0.7409 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.8628, allocations: 48.59 kB / 0.7409 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002962/0.8658, allocations: 439.2 kB / 0.7413 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.8658, allocations: 12 kB / 0.7413 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002994/0.8661, allocations: 0.5971 MB / 0.7419 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.8661, allocations: 7.922 kB / 0.7419 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.8667, allocations: 0.496 MB / 0.7424 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.8668, allocations: 65.61 kB / 0.7425 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.862e-05/0.8669, allocations: 17.72 kB / 0.7425 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.8672, allocations: 16 kB / 0.7425 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.8673, allocations: 23.11 kB / 0.7425 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.8673, allocations: 21.95 kB / 0.7426 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004195/0.8677, allocations: 433.3 kB / 0.743 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8677, allocations: 0 / 0.743 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008472/0.8686, allocations: 351.7 kB / 0.7433 GB, free: 173.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001382/0.8699, allocations: 1.376 MB / 0.7446 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006702/0.8706, allocations: 353.1 kB / 0.745 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.8706, allocations: 4 kB / 0.745 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.8709, allocations: 139.6 kB / 0.7451 GB, free: 172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.8726, allocations: 414.2 kB / 0.7455 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/0.8776, allocations: 5.029 MB / 0.7504 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.8778, allocations: 268 kB / 0.7507 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001076/0.8788, allocations: 0.5694 MB / 0.7512 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.8792, allocations: 243.3 kB / 0.7515 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.974e-06/0.8792, allocations: 0 / 0.7515 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05389/0.9331, allocations: 27.1 MB / 0.7779 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.38, allocations: 14.48 kB / 0.7779 GB, free: 138.6 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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: 17.556770337745547]