Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001848/0.001848, allocations: 120.4 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002356/0.002356, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.9 MB / 357.4 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 88.05 kB / 0.4913 GB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1303, allocations: 65.99 MB / 0.5557 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4621/0.5924, allocations: 186.6 MB / 0.7379 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005774/0.5982, allocations: 3.273 MB / 0.7411 GB, free: 4.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006211/0.5988, allocations: 15.88 kB / 0.7411 GB, free: 4.055 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009319/0.5997, allocations: 329.8 kB / 0.7414 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.6033, allocations: 1.421 MB / 0.7428 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.6052, allocations: 0.7217 MB / 0.7435 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002045/0.6072, allocations: 1.559 MB / 0.7451 GB, free: 28 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005627/0.6078, allocations: 391.8 kB / 0.7454 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007966/0.6086, allocations: 0.5956 MB / 0.746 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005743/0.6092, allocations: 482 kB / 0.7465 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.458e-05/0.6092, allocations: 52 kB / 0.7465 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.6114, allocations: 1.219 MB / 0.7477 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.6116, allocations: 159.4 kB / 0.7479 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003553/0.612, allocations: 350.4 kB / 0.7482 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.614, allocations: 1.511 MB / 0.7497 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.614, allocations: 0 / 0.7497 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.614, allocations: 0 / 0.7497 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.614, allocations: 0 / 0.7497 GB, free: 11.28 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.00183/0.6158, allocations: 1.078 MB / 0.7507 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.6159, allocations: 12.03 kB / 0.7507 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.616, allocations: 78.52 kB / 0.7508 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009937/0.617, allocations: 147.5 kB / 0.751 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008516/0.6178, allocations: 0.4968 MB / 0.7514 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.6178, allocations: 33 kB / 0.7515 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.6179, allocations: 43.94 kB / 0.7515 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.619, allocations: 0.5906 MB / 0.7521 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.6191, allocations: 0 / 0.7521 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.6191, allocations: 20 kB / 0.7521 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.6191, allocations: 12 kB / 0.7521 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009693/0.6201, allocations: 483.5 kB / 0.7526 GB, free: 8.164 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.003414/0.6235, allocations: 2.675 MB / 0.7552 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/0.6243, allocations: 323.5 kB / 0.7555 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.6246, allocations: 162.2 kB / 0.7557 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000446/0.625, allocations: 441.8 kB / 0.7561 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.6251, allocations: 38.84 kB / 0.7561 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.6251, allocations: 0 / 0.7561 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001803/0.6269, allocations: 0.7385 MB / 0.7568 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.765e-05/0.627, allocations: 136.5 kB / 0.757 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006237/0.6276, allocations: 498 kB / 0.7574 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.6276, allocations: 33.64 kB / 0.7575 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.6279, allocations: 288.2 kB / 0.7578 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.628, allocations: 122.9 kB / 0.7579 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.6282, allocations: 102.1 kB / 0.758 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.6284, allocations: 362.8 kB / 0.7583 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.6287, allocations: 148.8 kB / 0.7585 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.6291, allocations: 283.7 kB / 0.7587 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007523/0.6299, allocations: 441.6 kB / 0.7591 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6299, allocations: 4 kB / 0.7592 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001051/0.6309, allocations: 0.5445 MB / 0.7597 GB, free: 368 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.631, allocations: 7.938 kB / 0.7597 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.631, allocations: 7.938 kB / 0.7597 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.6325, allocations: 244.9 kB / 0.7599 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.6329, allocations: 99.89 kB / 0.76 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005474/0.6334, allocations: 0.6031 MB / 0.7606 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.6338, allocations: 43.62 kB / 0.7607 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/0.6338, allocations: 47.98 kB / 0.7607 GB, free: 15.29 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0002759/0.6341, allocations: 189.6 kB / 0.7609 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.6342, allocations: 51.67 kB / 0.7609 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/0.6362, allocations: 1.087 MB / 0.762 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.6362, allocations: 4 kB / 0.762 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6362, allocations: 3.938 kB / 0.762 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.6362, allocations: 3.984 kB / 0.762 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.6377, allocations: 1.026 MB / 0.763 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.6378, allocations: 4 kB / 0.763 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.638, allocations: 55.91 kB / 0.7631 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00337/0.6413, allocations: 448.3 kB / 0.7635 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.6414, allocations: 11.94 kB / 0.7635 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005422/0.6419, allocations: 0.6071 MB / 0.7641 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.6419, allocations: 7.922 kB / 0.7641 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009566/0.6429, allocations: 0.5128 MB / 0.7646 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.6431, allocations: 144.7 kB / 0.7647 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.6432, allocations: 11.94 kB / 0.7648 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.6435, allocations: 15.98 kB / 0.7648 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.6436, allocations: 35.84 kB / 0.7648 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.6436, allocations: 16 kB / 0.7648 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005881/0.6442, allocations: 422.8 kB / 0.7652 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6442, allocations: 0 / 0.7652 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009567/0.6452, allocations: 283.3 kB / 0.7655 GB, free: 10.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.001881/0.647, allocations: 1.333 MB / 0.7668 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.6483, allocations: 367.8 kB / 0.7671 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6483, allocations: 0 / 0.7671 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004839/0.6488, allocations: 159.7 kB / 0.7673 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.6504, allocations: 367.9 kB / 0.7677 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007383/0.6578, allocations: 4.919 MB / 0.7725 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/0.6584, allocations: 0.8634 MB / 0.7733 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001207/0.6596, allocations: 0.5531 MB / 0.7738 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/0.66, allocations: 227.3 kB / 0.7741 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/0.66, allocations: 0 / 0.7741 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05922/0.7192, allocations: 21.77 MB / 0.7953 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.84, allocations: 19.02 kB / 0.7953 GB, free: 11.62 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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: 16.99885201593861]