Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.0008372/0.0008372, 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.001008/0.001008, 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.9148/0.9148, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2599/0.2599, allocations: 34.24 MB / 294.9 MB, free: 0.7188 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.Orifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.344e-05, allocations: 6.281 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3245/0.3245, allocations: 159.9 MB / 0.588 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004955/0.3295, allocations: 4.267 MB / 0.5921 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004879/0.33, allocations: 27.75 kB / 0.5921 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007801/0.3308, allocations: 329.6 kB / 0.5925 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.3345, allocations: 1.874 MB / 0.5943 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.3362, allocations: 0.9956 MB / 0.5953 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.3381, allocations: 1.73 MB / 0.597 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005492/0.3386, allocations: 366.5 kB / 0.5973 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.3403, allocations: 1.098 MB / 0.5984 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005236/0.3408, allocations: 462.7 kB / 0.5988 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.312e-05/0.3409, allocations: 56 kB / 0.5989 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.3426, allocations: 0.998 MB / 0.5998 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.3428, allocations: 183.3 kB / 0.6 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.343, allocations: 275.4 kB / 0.6003 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.3451, allocations: 1.679 MB / 0.6019 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3451, allocations: 0 / 0.6019 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3451, allocations: 0 / 0.6019 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.3452, allocations: 7.938 kB / 0.6019 GB, free: 2.336 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.001423/0.3466, allocations: 1.046 MB / 0.603 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3466, allocations: 8.031 kB / 0.603 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.608e-05/0.3467, allocations: 90.52 kB / 0.603 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006701/0.3474, allocations: 171.4 kB / 0.6032 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.348, allocations: 445.5 kB / 0.6036 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.348, allocations: 37 kB / 0.6037 GB, free: 492 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.3481, allocations: 41.5 kB / 0.6037 GB, free: 452 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.3491, allocations: 1.054 MB / 0.6047 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3492, allocations: 4 kB / 0.6047 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.3492, allocations: 19.94 kB / 0.6048 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3492, allocations: 12 kB / 0.6048 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005922/0.3498, allocations: 0.4917 MB / 0.6053 GB, free: 14.71 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.002096/0.3519, allocations: 2.09 MB / 0.6073 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.3524, allocations: 297 kB / 0.6076 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.3525, allocations: 145.4 kB / 0.6077 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.3527, allocations: 55.91 kB / 0.6078 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.3527, allocations: 42.55 kB / 0.6078 GB, free: 12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.3527, allocations: 0 / 0.6078 GB, free: 12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001292/0.354, allocations: 0.6351 MB / 0.6084 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.3541, allocations: 158.2 kB / 0.6086 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006172/0.3547, allocations: 0.5378 MB / 0.6091 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.3548, allocations: 33.7 kB / 0.6091 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.3549, allocations: 314.4 kB / 0.6094 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.585e-05/0.355, allocations: 126.9 kB / 0.6096 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.3551, allocations: 114.1 kB / 0.6097 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3553, allocations: 370.8 kB / 0.61 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.3555, allocations: 136.9 kB / 0.6102 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.3558, allocations: 426.2 kB / 0.6106 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.3562, allocations: 478.8 kB / 0.611 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3562, allocations: 0 / 0.611 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001064/0.3573, allocations: 0.5792 MB / 0.6116 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3573, allocations: 8 kB / 0.6116 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3573, allocations: 7.938 kB / 0.6116 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.3586, allocations: 245.1 kB / 0.6118 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.3589, allocations: 123.8 kB / 0.6119 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004793/0.3594, allocations: 0.5875 MB / 0.6125 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.3597, allocations: 59.55 kB / 0.6126 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.3597, allocations: 48 kB / 0.6126 GB, free: 6.793 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.0002605/0.36, allocations: 193.6 kB / 0.6128 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.3601, allocations: 75.69 kB / 0.6129 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.3618, allocations: 1.107 MB / 0.614 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.3618, allocations: 4 kB / 0.614 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3618, allocations: 4 kB / 0.614 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3619, allocations: 0 / 0.614 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.363, allocations: 0.9134 MB / 0.6149 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.363, allocations: 0 / 0.6149 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.3631, allocations: 51.86 kB / 0.6149 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/0.3646, allocations: 440.4 kB / 0.6153 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.3646, allocations: 15.94 kB / 0.6153 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003193/0.3649, allocations: 0.6044 MB / 0.6159 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.3649, allocations: 4.031 kB / 0.6159 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/0.3655, allocations: 0.5039 MB / 0.6164 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.3656, allocations: 64.42 kB / 0.6165 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.3657, allocations: 11.94 kB / 0.6165 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.3659, allocations: 19.98 kB / 0.6165 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.366, allocations: 27.95 kB / 0.6166 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.366, allocations: 20.05 kB / 0.6166 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004225/0.3664, allocations: 455 kB / 0.617 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3664, allocations: 0 / 0.617 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008609/0.3673, allocations: 295.4 kB / 0.6173 GB, free: 1.855 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.001521/0.3688, allocations: 1.334 MB / 0.6186 GB, free: 484 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005919/0.3694, allocations: 355.5 kB / 0.6189 GB, free: 128 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3694, allocations: 5.25 kB / 0.6189 GB, free: 124 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.3696, allocations: 140.8 kB / 0.6191 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3706, allocations: 406.8 kB / 0.6195 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.3753, allocations: 5.033 MB / 0.6244 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.3755, allocations: 271.9 kB / 0.6246 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000966/0.3764, allocations: 0.5727 MB / 0.6252 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.3767, allocations: 240.4 kB / 0.6254 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/0.3767, allocations: 4 kB / 0.6254 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2132/0.5899, allocations: 25.19 MB / 0.65 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.645, allocations: 13.5 kB / 0.65 GB, free: 163.7 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.833137764595449]