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.001887/0.001887, 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.002728/0.002728, allocations: 209.7 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.459/1.459, 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.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.2385/0.2385, allocations: 46.97 MB / 360.9 MB, free: 4.039 MB / 286.1 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 0.002028/0.002028, allocations: 71.89 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3244, allocations: 66.03 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2084/0.5329, allocations: 160 MB / 0.7168 GB, free: 3.664 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007566/0.5404, allocations: 4.266 MB / 0.721 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006479/0.5411, allocations: 27.75 kB / 0.721 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.5421, allocations: 325.8 kB / 0.7213 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005088/0.5472, allocations: 1.839 MB / 0.7231 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.5497, allocations: 0.9578 MB / 0.7241 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002471/0.5522, allocations: 1.726 MB / 0.7257 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006367/0.5528, allocations: 390.4 kB / 0.7261 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.5546, allocations: 0.8799 MB / 0.727 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008667/0.5555, allocations: 0.498 MB / 0.7275 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.5556, allocations: 52 kB / 0.7275 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/0.5583, allocations: 0.9883 MB / 0.7285 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.5585, allocations: 179.3 kB / 0.7286 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004302/0.559, allocations: 318.7 kB / 0.7289 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.5615, allocations: 1.581 MB / 0.7305 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5615, allocations: 0 / 0.7305 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5615, allocations: 0 / 0.7305 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.5615, allocations: 0 / 0.7305 GB, free: 5.621 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.002082/0.5636, allocations: 1.053 MB / 0.7315 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.5637, allocations: 15.95 kB / 0.7315 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.5638, allocations: 86.53 kB / 0.7316 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.565, allocations: 171.5 kB / 0.7318 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009916/0.566, allocations: 445.5 kB / 0.7322 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.566, allocations: 36.98 kB / 0.7322 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.5661, allocations: 44 kB / 0.7323 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.5676, allocations: 1.049 MB / 0.7333 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5676, allocations: 4 kB / 0.7333 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/0.5677, allocations: 20 kB / 0.7333 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.5677, allocations: 12 kB / 0.7333 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009787/0.5687, allocations: 0.4957 MB / 0.7338 GB, free: 1.996 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.254/0.8226, allocations: 2.082 MB / 0.7359 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009303/0.8236, allocations: 302.5 kB / 0.7361 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.8239, allocations: 142 kB / 0.7363 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/0.8242, allocations: 50.47 kB / 0.7363 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.8242, allocations: 45.69 kB / 0.7364 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.8242, allocations: 0 / 0.7364 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001869/0.8261, allocations: 0.6321 MB / 0.737 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.8261, allocations: 160 kB / 0.7371 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008583/0.827, allocations: 0.5287 MB / 0.7377 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/0.827, allocations: 36.3 kB / 0.7377 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.8273, allocations: 307.2 kB / 0.738 GB, free: 175 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.94e-05/0.8274, allocations: 134.6 kB / 0.7381 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.8275, allocations: 114.8 kB / 0.7382 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8276, allocations: 366.5 kB / 0.7386 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.8279, allocations: 144.9 kB / 0.7387 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.8283, allocations: 423.6 kB / 0.7391 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.8289, allocations: 477 kB / 0.7396 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8289, allocations: 0 / 0.7396 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008833/0.8298, allocations: 0.577 MB / 0.7401 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.8298, allocations: 7.625 kB / 0.7401 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.8298, allocations: 4.094 kB / 0.7401 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.8313, allocations: 246.4 kB / 0.7404 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.8316, allocations: 118.6 kB / 0.7405 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003259/0.832, allocations: 0.5977 MB / 0.7411 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.8323, allocations: 55.83 kB / 0.7411 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.685e-05/0.8324, allocations: 53.48 kB / 0.7412 GB, free: 172.9 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.0002282/0.8326, allocations: 196.1 kB / 0.7414 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.8327, allocations: 65.19 kB / 0.7414 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.8343, allocations: 1.103 MB / 0.7425 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.8343, allocations: 15.02 kB / 0.7425 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.8343, allocations: 7.562 kB / 0.7425 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.8343, allocations: 0 / 0.7425 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.8355, allocations: 0.9178 MB / 0.7434 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.8355, allocations: 0 / 0.7434 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.8357, allocations: 49.89 kB / 0.7435 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002837/0.8385, allocations: 443 kB / 0.7439 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.8385, allocations: 8 kB / 0.7439 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002765/0.8388, allocations: 0.6058 MB / 0.7445 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8388, allocations: 4.031 kB / 0.7445 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.8394, allocations: 0.4993 MB / 0.745 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.8395, allocations: 66.8 kB / 0.745 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.481e-05/0.8396, allocations: 13.95 kB / 0.7451 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.8399, allocations: 15.81 kB / 0.7451 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.8399, allocations: 27.95 kB / 0.7451 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.84, allocations: 19.98 kB / 0.7451 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004216/0.8404, allocations: 451 kB / 0.7456 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8404, allocations: 0 / 0.7456 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007998/0.8412, allocations: 300.1 kB / 0.7458 GB, free: 169 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.001276/0.8425, allocations: 1.318 MB / 0.7471 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006491/0.8431, allocations: 362.8 kB / 0.7475 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.8431, allocations: 4.109 kB / 0.7475 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.8434, allocations: 141 kB / 0.7476 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.8449, allocations: 401 kB / 0.748 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.8497, allocations: 5.058 MB / 0.7529 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.8499, allocations: 268 kB / 0.7532 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008753/0.8508, allocations: 0.5784 MB / 0.7538 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.8511, allocations: 239.3 kB / 0.754 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.8511, allocations: 0 / 0.754 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/0.9036, allocations: 25.14 MB / 0.7785 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.95, allocations: 19.08 kB / 0.7785 GB, free: 135.7 MB / 0.5606 GB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/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: 17.213371836114675]