Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007834/0.0007834, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008546/0.0008546, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9171/0.9171, allocations: 177.1 MB / 204.2 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2567/0.2567, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.646e-05, allocations: 6.219 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.3343/0.3343, allocations: 159.9 MB / 0.588 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005456/0.3398, allocations: 4.624 MB / 0.5925 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005439/0.3403, allocations: 27.75 kB / 0.5925 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007623/0.3411, allocations: 325.7 kB / 0.5928 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004293/0.3454, allocations: 2.208 MB / 0.595 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.3474, allocations: 0.9672 MB / 0.5959 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001655/0.3491, allocations: 1.698 MB / 0.5976 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004384/0.3495, allocations: 370.5 kB / 0.5979 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.3508, allocations: 1.102 MB / 0.599 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004642/0.3513, allocations: 466.7 kB / 0.5995 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.195e-05/0.3513, allocations: 52 kB / 0.5995 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.3533, allocations: 1.279 MB / 0.6008 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.3535, allocations: 183.3 kB / 0.6009 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.3537, allocations: 271.4 kB / 0.6012 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.356, allocations: 1.921 MB / 0.6031 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.356, allocations: 0 / 0.6031 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.863e-06/0.356, allocations: 0 / 0.6031 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.356, allocations: 0 / 0.6031 GB, free: 1.16 MB / 0.4948 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.001352/0.3573, allocations: 1.085 MB / 0.6041 GB, free: 40 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3574, allocations: 8.031 kB / 0.6041 GB, free: 32 kB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.3575, allocations: 94.47 kB / 0.6042 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006306/0.3581, allocations: 163.5 kB / 0.6044 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.3587, allocations: 444.9 kB / 0.6048 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.3587, allocations: 37 kB / 0.6048 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.3588, allocations: 44 kB / 0.6049 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008475/0.3596, allocations: 1.038 MB / 0.6059 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3596, allocations: 7.938 kB / 0.6059 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.3597, allocations: 23.94 kB / 0.6059 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.3597, allocations: 15.98 kB / 0.6059 GB, free: 14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005574/0.3602, allocations: 491.6 kB / 0.6064 GB, free: 13.52 MB / 0.5105 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.001808/0.362, allocations: 2.078 MB / 0.6084 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.3625, allocations: 297.1 kB / 0.6087 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.3626, allocations: 145.4 kB / 0.6089 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.3628, allocations: 51.95 kB / 0.6089 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3629, allocations: 40.91 kB / 0.609 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.517e-06/0.3629, allocations: 3.984 kB / 0.609 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001017/0.3639, allocations: 0.6349 MB / 0.6096 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.3639, allocations: 162.2 kB / 0.6097 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006824/0.3646, allocations: 0.5105 MB / 0.6102 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.3647, allocations: 33.7 kB / 0.6103 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.3648, allocations: 304.1 kB / 0.6106 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.503e-05/0.3649, allocations: 134.8 kB / 0.6107 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.365, allocations: 114.1 kB / 0.6108 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3651, allocations: 366.8 kB / 0.6111 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.3653, allocations: 140.9 kB / 0.6113 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.3656, allocations: 421.1 kB / 0.6117 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.366, allocations: 470.8 kB / 0.6121 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.366, allocations: 0 / 0.6121 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006277/0.3666, allocations: 0.5676 MB / 0.6127 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3667, allocations: 8 kB / 0.6127 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3667, allocations: 8.562 kB / 0.6127 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000765/0.3674, allocations: 248.5 kB / 0.6129 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.3676, allocations: 119.9 kB / 0.613 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003383/0.368, allocations: 0.5836 MB / 0.6136 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.3682, allocations: 55.56 kB / 0.6137 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.3683, allocations: 51.98 kB / 0.6137 GB, free: 5.664 MB / 0.5105 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.000199/0.3685, allocations: 197.6 kB / 0.6139 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.3685, allocations: 63.62 kB / 0.614 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.3697, allocations: 1.099 MB / 0.615 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3697, allocations: 8 kB / 0.615 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3697, allocations: 3.938 kB / 0.6151 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3697, allocations: 0 / 0.6151 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008838/0.3706, allocations: 0.9016 MB / 0.6159 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3706, allocations: 0 / 0.6159 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.3707, allocations: 55.91 kB / 0.616 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.3721, allocations: 448.4 kB / 0.6164 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.3721, allocations: 15.94 kB / 0.6164 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005729/0.3727, allocations: 0.5922 MB / 0.617 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3727, allocations: 0 / 0.617 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.3731, allocations: 0.4971 MB / 0.6175 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.211e-05/0.3732, allocations: 71.48 kB / 0.6176 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.3733, allocations: 11.94 kB / 0.6176 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.3734, allocations: 17.3 kB / 0.6176 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.3735, allocations: 32.02 kB / 0.6176 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.3735, allocations: 16 kB / 0.6176 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000355/0.3739, allocations: 434.7 kB / 0.618 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3739, allocations: 0 / 0.618 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007845/0.3747, allocations: 351.1 kB / 0.6184 GB, free: 0.7266 MB / 0.5105 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.001338/0.376, allocations: 1.388 MB / 0.6197 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005649/0.3766, allocations: 348.8 kB / 0.6201 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3766, allocations: 0 / 0.6201 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.3767, allocations: 148.7 kB / 0.6202 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.3778, allocations: 412.3 kB / 0.6206 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/0.3826, allocations: 4.993 MB / 0.6255 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.3828, allocations: 276 kB / 0.6257 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007653/0.3835, allocations: 0.5728 MB / 0.6263 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.3838, allocations: 240.4 kB / 0.6265 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/0.3838, allocations: 0 / 0.6265 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2071/0.5909, allocations: 27.17 MB / 0.6531 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.771, allocations: 7.125 kB / 0.6531 GB, free: 159.4 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 10.962748838588595]