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.0008282/0.0008282, allocations: 79.69 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.000921/0.000921, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9347/0.9347, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2648/0.2648, allocations: 32.79 MB / 293.5 MB, free: 1.203 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.363e-05, allocations: 4.109 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.3477/0.3477, allocations: 159.9 MB / 0.5855 GB, free: 4.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006428/0.3541, allocations: 4.631 MB / 0.59 GB, free: 44 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008496/0.355, allocations: 23.75 kB / 0.59 GB, free: 20 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.356, allocations: 329.8 kB / 0.5903 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00483/0.3608, allocations: 2.205 MB / 0.5925 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.3628, allocations: 0.9672 MB / 0.5934 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.3646, allocations: 1.701 MB / 0.5951 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.365, allocations: 370.5 kB / 0.5954 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.3668, allocations: 1.106 MB / 0.5965 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005019/0.3673, allocations: 458.7 kB / 0.5969 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.152e-05/0.3674, allocations: 52 kB / 0.597 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.3696, allocations: 1.283 MB / 0.5982 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.3697, allocations: 183.3 kB / 0.5984 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.37, allocations: 275.4 kB / 0.5987 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.3724, allocations: 1.921 MB / 0.6006 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3724, allocations: 4 kB / 0.6006 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3724, allocations: 0 / 0.6006 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.3724, allocations: 0 / 0.6006 GB, free: 5.191 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.001663/0.3741, allocations: 1.08 MB / 0.6016 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.3741, allocations: 12.03 kB / 0.6016 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.949e-05/0.3742, allocations: 88.02 kB / 0.6017 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006944/0.3749, allocations: 163.5 kB / 0.6019 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.3755, allocations: 445.5 kB / 0.6023 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.3756, allocations: 33 kB / 0.6023 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.3756, allocations: 44 kB / 0.6024 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008893/0.3765, allocations: 1.038 MB / 0.6034 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3765, allocations: 3.938 kB / 0.6034 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003167/0.3768, allocations: 27.94 kB / 0.6034 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3768, allocations: 12 kB / 0.6034 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005882/0.3774, allocations: 491.6 kB / 0.6039 GB, free: 1.562 MB / 0.4948 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.001939/0.3794, allocations: 2.086 MB / 0.6059 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.3798, allocations: 294.7 kB / 0.6062 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.3799, allocations: 145.4 kB / 0.6063 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.3801, allocations: 51.95 kB / 0.6064 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.3801, allocations: 38.56 kB / 0.6064 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.545e-06/0.3801, allocations: 4 kB / 0.6064 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001006/0.3812, allocations: 0.6296 MB / 0.607 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.3812, allocations: 162.1 kB / 0.6072 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.3816, allocations: 0.5106 MB / 0.6077 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.3817, allocations: 37.7 kB / 0.6077 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.3818, allocations: 304.1 kB / 0.608 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.3819, allocations: 126.9 kB / 0.6081 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.382, allocations: 122.1 kB / 0.6083 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3821, allocations: 362.8 kB / 0.6086 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.3823, allocations: 144.9 kB / 0.6088 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.3826, allocations: 425.1 kB / 0.6092 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/0.383, allocations: 466.3 kB / 0.6096 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.383, allocations: 4 kB / 0.6096 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006674/0.3837, allocations: 0.5716 MB / 0.6102 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3837, allocations: 8 kB / 0.6102 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.3837, allocations: 4 kB / 0.6102 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.3849, allocations: 244.9 kB / 0.6104 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.3851, allocations: 111.9 kB / 0.6105 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003593/0.3854, allocations: 0.5875 MB / 0.6111 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.3857, allocations: 63.62 kB / 0.6111 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.3857, allocations: 51.98 kB / 0.6112 GB, free: 9.699 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.0002066/0.3859, allocations: 193.6 kB / 0.6114 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.386, allocations: 63.62 kB / 0.6114 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.3872, allocations: 1.103 MB / 0.6125 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3872, allocations: 7.984 kB / 0.6125 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3872, allocations: 0 / 0.6125 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3872, allocations: 3.984 kB / 0.6125 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009575/0.3882, allocations: 0.9055 MB / 0.6134 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3882, allocations: 6.625 kB / 0.6134 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3883, allocations: 47.92 kB / 0.6135 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.3897, allocations: 436.4 kB / 0.6139 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.3897, allocations: 8 kB / 0.6139 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003311/0.39, allocations: 0.5999 MB / 0.6145 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.39, allocations: 4 kB / 0.6145 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.3905, allocations: 0.4972 MB / 0.615 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.3906, allocations: 67.48 kB / 0.615 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.3907, allocations: 11.94 kB / 0.615 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.3908, allocations: 19.98 kB / 0.6151 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.3909, allocations: 23.95 kB / 0.6151 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.3909, allocations: 19.98 kB / 0.6151 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003728/0.3913, allocations: 430.8 kB / 0.6155 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3913, allocations: 0 / 0.6155 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000846/0.3921, allocations: 363 kB / 0.6159 GB, free: 4.766 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.001488/0.3936, allocations: 1.388 MB / 0.6172 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009744/0.3946, allocations: 351.7 kB / 0.6176 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3946, allocations: 0 / 0.6176 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.3948, allocations: 145.8 kB / 0.6177 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3959, allocations: 409.2 kB / 0.6181 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/0.4008, allocations: 5.012 MB / 0.623 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.401, allocations: 268 kB / 0.6232 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007989/0.4018, allocations: 0.5766 MB / 0.6238 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.402, allocations: 236.4 kB / 0.624 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.835e-06/0.4021, allocations: 0 / 0.624 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2085/0.6105, allocations: 27.16 MB / 0.6505 GB, free: 165 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.84, allocations: 2.5 kB / 0.6505 GB, free: 165 MB / 0.5261 GB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins/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: 11.024587121792138]