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.001813/0.001813, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.002261/0.002261, allocations: 212.3 kB / 24.51 MB, free: 3.914 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.2591/0.2591, allocations: 44.94 MB / 359.6 MB, free: 6.027 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="cs",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.001967/0.001967, allocations: 63.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3464, allocations: 65.47 MB / 0.5577 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.2103/0.5567, allocations: 159.9 MB / 0.7139 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009735/0.5664, allocations: 4.607 MB / 0.7184 GB, free: 2.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009215/0.5673, allocations: 27.75 kB / 0.7184 GB, free: 2.383 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.5685, allocations: 325.8 kB / 0.7187 GB, free: 2.062 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006922/0.5755, allocations: 2.176 MB / 0.7208 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.5783, allocations: 0.9342 MB / 0.7217 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003351/0.5816, allocations: 1.699 MB / 0.7234 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.5827, allocations: 370.5 kB / 0.7237 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.5852, allocations: 0.8916 MB / 0.7246 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.5863, allocations: 0.5292 MB / 0.7251 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.5865, allocations: 52 kB / 0.7252 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/0.5903, allocations: 1.329 MB / 0.7265 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.5906, allocations: 183.3 kB / 0.7267 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006379/0.5912, allocations: 310.7 kB / 0.727 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.5952, allocations: 1.811 MB / 0.7287 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5952, allocations: 0 / 0.7287 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5952, allocations: 3.938 kB / 0.7287 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.985e-05/0.5953, allocations: 8 kB / 0.7287 GB, free: 7.762 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.002886/0.5982, allocations: 1.076 MB / 0.7298 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5982, allocations: 11.97 kB / 0.7298 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.16e-05/0.5982, allocations: 13 kB / 0.7298 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.5984, allocations: 94.52 kB / 0.7299 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.5998, allocations: 167.5 kB / 0.7301 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009871/0.6007, allocations: 445.5 kB / 0.7305 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.6008, allocations: 33 kB / 0.7305 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.739e-05/0.6009, allocations: 47.94 kB / 0.7306 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.6025, allocations: 1.038 MB / 0.7316 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.6025, allocations: 4 kB / 0.7316 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/0.6026, allocations: 20 kB / 0.7316 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.6026, allocations: 12 kB / 0.7316 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009784/0.6036, allocations: 0.4917 MB / 0.7321 GB, free: 4.105 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.003401/0.607, allocations: 2.087 MB / 0.7341 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007486/0.6077, allocations: 300.5 kB / 0.7344 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.608, allocations: 140.8 kB / 0.7345 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/0.6083, allocations: 47.97 kB / 0.7346 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.6083, allocations: 42.5 kB / 0.7346 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.6083, allocations: 0 / 0.7346 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001752/0.6101, allocations: 0.6273 MB / 0.7352 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.6102, allocations: 166.2 kB / 0.7354 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006544/0.6108, allocations: 0.5067 MB / 0.7359 GB, free: 48 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.6109, allocations: 33.7 kB / 0.7359 GB, free: 8 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2627/0.8736, allocations: 296.4 kB / 0.7362 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.8738, allocations: 131.7 kB / 0.7363 GB, free: 179 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.8741, allocations: 119.3 kB / 0.7365 GB, free: 179 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8742, allocations: 364.4 kB / 0.7368 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.8746, allocations: 144.5 kB / 0.7369 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.8751, allocations: 424.3 kB / 0.7373 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000827/0.8759, allocations: 465.2 kB / 0.7378 GB, free: 178 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.876, allocations: 1.938 kB / 0.7378 GB, free: 178 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001342/0.8773, allocations: 0.5775 MB / 0.7384 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/0.8773, allocations: 6.781 kB / 0.7384 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.8774, allocations: 5.703 kB / 0.7384 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/0.8791, allocations: 245.6 kB / 0.7386 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.8796, allocations: 114.3 kB / 0.7387 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003915/0.88, allocations: 0.5854 MB / 0.7393 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.8805, allocations: 57.72 kB / 0.7393 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.8806, allocations: 56.84 kB / 0.7394 GB, free: 177.1 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.0003125/0.8809, allocations: 193.2 kB / 0.7396 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.881, allocations: 63.62 kB / 0.7396 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.8828, allocations: 1.101 MB / 0.7407 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.8828, allocations: 3.969 kB / 0.7407 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8828, allocations: 1.062 kB / 0.7407 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.8828, allocations: 0 / 0.7407 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.8839, allocations: 0.9129 MB / 0.7416 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.8839, allocations: 3.891 kB / 0.7416 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.8841, allocations: 54.72 kB / 0.7417 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003128/0.8872, allocations: 436.1 kB / 0.7421 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.8872, allocations: 9.156 kB / 0.7421 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002944/0.8875, allocations: 0.596 MB / 0.7427 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8875, allocations: 4.797 kB / 0.7427 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/0.8881, allocations: 0.495 MB / 0.7432 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.19e-05/0.8882, allocations: 66.27 kB / 0.7432 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.8883, allocations: 13.95 kB / 0.7432 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.8886, allocations: 12 kB / 0.7432 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.8887, allocations: 30.72 kB / 0.7433 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.8887, allocations: 21.81 kB / 0.7433 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004177/0.8891, allocations: 430.8 kB / 0.7437 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8891, allocations: 0 / 0.7437 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009168/0.89, allocations: 357.1 kB / 0.744 GB, free: 174.1 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.001463/0.8915, allocations: 1.373 MB / 0.7454 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006888/0.8922, allocations: 360.8 kB / 0.7457 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.8922, allocations: 4 kB / 0.7457 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.8924, allocations: 136.8 kB / 0.7459 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.8941, allocations: 411.3 kB / 0.7463 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.8991, allocations: 5.026 MB / 0.7512 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.8993, allocations: 272 kB / 0.7514 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009225/0.9002, allocations: 0.5655 MB / 0.752 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.9006, allocations: 243.3 kB / 0.7522 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.793e-06/0.9006, allocations: 4 kB / 0.7522 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04698/0.9476, allocations: 26.69 MB / 0.7783 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.29, allocations: 6.953 kB / 0.7783 GB, free: 139.3 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: 18.786344305961393]