Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001872/0.001872, 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.002065/0.002065, allocations: 211.2 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2205/0.2205, allocations: 44.94 MB / 358.8 MB, free: 6.031 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.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",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.002112/0.002112, allocations: 63.91 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3285, allocations: 65.48 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2146/0.5431, allocations: 160 MB / 0.7132 GB, free: 6.957 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007517/0.5506, allocations: 4.27 MB / 0.7174 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007723/0.5514, allocations: 27.75 kB / 0.7174 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.5526, allocations: 325.8 kB / 0.7177 GB, free: 2.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0052/0.5578, allocations: 1.835 MB / 0.7195 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.5604, allocations: 0.9657 MB / 0.7204 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002583/0.563, allocations: 1.73 MB / 0.7221 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007351/0.5637, allocations: 378.4 kB / 0.7225 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.5656, allocations: 0.8761 MB / 0.7233 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009507/0.5666, allocations: 0.5019 MB / 0.7238 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.5668, allocations: 56 kB / 0.7239 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.5691, allocations: 0.9828 MB / 0.7248 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.5694, allocations: 179.4 kB / 0.725 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005116/0.5699, allocations: 314.8 kB / 0.7253 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002938/0.5729, allocations: 1.577 MB / 0.7269 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5729, allocations: 0 / 0.7269 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.807e-06/0.5729, allocations: 7.922 kB / 0.7269 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.347e-05/0.5729, allocations: 0 / 0.7269 GB, free: 8.918 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.002338/0.5752, allocations: 1.053 MB / 0.7279 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.5753, allocations: 8.031 kB / 0.7279 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.5754, allocations: 98.45 kB / 0.728 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.5767, allocations: 167.4 kB / 0.7281 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.5777, allocations: 453.5 kB / 0.7286 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.5778, allocations: 37 kB / 0.7286 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/0.5779, allocations: 40 kB / 0.7287 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.5795, allocations: 1.053 MB / 0.7297 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.5795, allocations: 0 / 0.7297 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.5796, allocations: 16 kB / 0.7297 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.5796, allocations: 16 kB / 0.7297 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.5806, allocations: 0.4956 MB / 0.7302 GB, free: 5.285 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.003302/0.5839, allocations: 2.087 MB / 0.7322 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.5847, allocations: 298.6 kB / 0.7325 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.585, allocations: 153 kB / 0.7327 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.5852, allocations: 43.97 kB / 0.7327 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.5852, allocations: 42.5 kB / 0.7327 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.214e-06/0.5852, allocations: 0 / 0.7327 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001732/0.587, allocations: 0.639 MB / 0.7334 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.5871, allocations: 162.2 kB / 0.7335 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007323/0.5878, allocations: 0.5223 MB / 0.734 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.5879, allocations: 37.7 kB / 0.7341 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.5882, allocations: 308.1 kB / 0.7344 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.5883, allocations: 134.8 kB / 0.7345 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.5885, allocations: 114.2 kB / 0.7346 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.5887, allocations: 366.8 kB / 0.735 GB, free: 232 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.589, allocations: 144.9 kB / 0.7351 GB, free: 88 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2602/0.8492, allocations: 422 kB / 0.7355 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008597/0.8501, allocations: 469.7 kB / 0.7359 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.8501, allocations: 2.344 kB / 0.7359 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001287/0.8513, allocations: 0.5808 MB / 0.7365 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.8514, allocations: 8.219 kB / 0.7365 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.8514, allocations: 4.469 kB / 0.7365 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/0.853, allocations: 250.1 kB / 0.7368 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.8534, allocations: 114.5 kB / 0.7369 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003641/0.8538, allocations: 0.5877 MB / 0.7374 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/0.8542, allocations: 58.34 kB / 0.7375 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.8543, allocations: 55.25 kB / 0.7376 GB, free: 177.5 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.0002796/0.8546, allocations: 192.6 kB / 0.7377 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.8547, allocations: 62.39 kB / 0.7378 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.8565, allocations: 1.119 MB / 0.7389 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.8565, allocations: 3.969 kB / 0.7389 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8565, allocations: 1.078 kB / 0.7389 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.8565, allocations: 0.9375 kB / 0.7389 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.8577, allocations: 0.9188 MB / 0.7398 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.8577, allocations: 7.031 kB / 0.7398 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.8579, allocations: 51.81 kB / 0.7399 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002883/0.8607, allocations: 437.8 kB / 0.7403 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.8608, allocations: 10.03 kB / 0.7403 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000303/0.8611, allocations: 0.5965 MB / 0.7409 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.8611, allocations: 8.062 kB / 0.7409 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.8617, allocations: 0.5007 MB / 0.7414 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.8618, allocations: 68.94 kB / 0.7414 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/0.8619, allocations: 17.67 kB / 0.7414 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.8622, allocations: 11.16 kB / 0.7415 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.8623, allocations: 29.61 kB / 0.7415 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.8623, allocations: 23.42 kB / 0.7415 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004203/0.8627, allocations: 451.2 kB / 0.7419 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8627, allocations: 4 kB / 0.7419 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008088/0.8635, allocations: 295.2 kB / 0.7422 GB, free: 174.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.00129/0.8648, allocations: 1.329 MB / 0.7435 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006809/0.8655, allocations: 362.9 kB / 0.7439 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8655, allocations: 3.75 kB / 0.7439 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.8657, allocations: 141 kB / 0.744 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.8674, allocations: 390.8 kB / 0.7444 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/0.8725, allocations: 5.064 MB / 0.7493 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.8727, allocations: 272 kB / 0.7496 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009218/0.8736, allocations: 0.5686 MB / 0.7501 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.874, allocations: 243.3 kB / 0.7504 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.874, allocations: 0 / 0.7504 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05145/0.9254, allocations: 25.14 MB / 0.7749 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.17, allocations: 7.984 kB / 0.7749 GB, free: 141.7 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 17.425924168899655]