Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001761/0.001761, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002137/0.002137, allocations: 207.2 kB / 20.75 MB, free: 2.297 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 / 254.1 MB, free: 15.07 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.2605/0.2605, allocations: 46.93 MB / 357.1 MB, free: 10.29 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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.89 kB / 0.4909 GB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1324, allocations: 66 MB / 0.5554 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4687/0.6011, allocations: 186.6 MB / 0.7376 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006029/0.6071, allocations: 3.264 MB / 0.7408 GB, free: 3.422 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007668/0.6079, allocations: 23.75 kB / 0.7408 GB, free: 3.398 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.609, allocations: 325.8 kB / 0.7411 GB, free: 3.078 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00457/0.6136, allocations: 1.424 MB / 0.7425 GB, free: 1.652 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.6159, allocations: 0.7291 MB / 0.7432 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002322/0.6182, allocations: 1.559 MB / 0.7448 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007976/0.619, allocations: 375.9 kB / 0.7451 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.6203, allocations: 0.6072 MB / 0.7457 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008826/0.6212, allocations: 490 kB / 0.7462 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.6214, allocations: 52 kB / 0.7462 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.624, allocations: 1.209 MB / 0.7474 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.6243, allocations: 163.4 kB / 0.7476 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005602/0.6248, allocations: 358.4 kB / 0.7479 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.6276, allocations: 1.507 MB / 0.7494 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6276, allocations: 0 / 0.7494 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6276, allocations: 0 / 0.7494 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.6276, allocations: 0 / 0.7494 GB, free: 10.61 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.002103/0.6297, allocations: 1.078 MB / 0.7504 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.6298, allocations: 12.03 kB / 0.7504 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.6299, allocations: 79.22 kB / 0.7505 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000997/0.6309, allocations: 143.5 kB / 0.7507 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008556/0.6318, allocations: 0.493 MB / 0.7511 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.6318, allocations: 36.92 kB / 0.7512 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.6319, allocations: 47.94 kB / 0.7512 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.633, allocations: 0.5906 MB / 0.7518 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.633, allocations: 0 / 0.7518 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.6331, allocations: 19.62 kB / 0.7518 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.6331, allocations: 12 kB / 0.7518 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000989/0.6341, allocations: 487.6 kB / 0.7523 GB, free: 7.496 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.003177/0.6373, allocations: 2.667 MB / 0.7549 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007942/0.6381, allocations: 337.2 kB / 0.7552 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.6384, allocations: 153.3 kB / 0.7554 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004346/0.6388, allocations: 437.8 kB / 0.7558 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/0.6389, allocations: 38.84 kB / 0.7558 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.6389, allocations: 0 / 0.7558 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.00185/0.6407, allocations: 0.7423 MB / 0.7565 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/0.6408, allocations: 132.5 kB / 0.7567 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/0.6414, allocations: 494 kB / 0.7571 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.6415, allocations: 33.7 kB / 0.7572 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.6417, allocations: 292.2 kB / 0.7575 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.6418, allocations: 119 kB / 0.7576 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.642, allocations: 102.1 kB / 0.7577 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6422, allocations: 362.7 kB / 0.758 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.6425, allocations: 152.8 kB / 0.7582 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.643, allocations: 279.7 kB / 0.7584 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008495/0.6438, allocations: 441.6 kB / 0.7588 GB, free: 268 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6438, allocations: 4 kB / 0.7588 GB, free: 264 kB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001144/0.645, allocations: 0.5446 MB / 0.7594 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.645, allocations: 7.938 kB / 0.7594 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.645, allocations: 7.984 kB / 0.7594 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.6466, allocations: 241 kB / 0.7596 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.647, allocations: 107.8 kB / 0.7597 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005051/0.6475, allocations: 0.5953 MB / 0.7603 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.6479, allocations: 55.61 kB / 0.7604 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-05/0.6479, allocations: 43.98 kB / 0.7604 GB, free: 14.62 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.000275/0.6482, allocations: 191.9 kB / 0.7606 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.6483, allocations: 55.67 kB / 0.7606 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.6503, allocations: 1.091 MB / 0.7617 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6503, allocations: 4 kB / 0.7617 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6503, allocations: 0 / 0.7617 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.6503, allocations: 0 / 0.7617 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.6519, allocations: 1.036 MB / 0.7627 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.6519, allocations: 4 kB / 0.7627 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.6521, allocations: 51.97 kB / 0.7628 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003288/0.6554, allocations: 448.2 kB / 0.7632 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.6555, allocations: 11.98 kB / 0.7632 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005573/0.656, allocations: 0.6109 MB / 0.7638 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.656, allocations: 1.484 kB / 0.7638 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.657, allocations: 0.5124 MB / 0.7643 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.6572, allocations: 140.7 kB / 0.7644 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.923e-05/0.6573, allocations: 11.94 kB / 0.7645 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.6576, allocations: 19.98 kB / 0.7645 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.6577, allocations: 31.84 kB / 0.7645 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.6577, allocations: 19.98 kB / 0.7645 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005666/0.6583, allocations: 418.8 kB / 0.7649 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6583, allocations: 0 / 0.7649 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009288/0.6592, allocations: 291.3 kB / 0.7652 GB, free: 9.535 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.00185/0.6611, allocations: 1.318 MB / 0.7665 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009042/0.662, allocations: 367.5 kB / 0.7668 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.662, allocations: 0 / 0.7668 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.6624, allocations: 161.9 kB / 0.767 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.6642, allocations: 373.3 kB / 0.7674 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007688/0.6718, allocations: 4.912 MB / 0.7721 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.6724, allocations: 0.8635 MB / 0.773 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00112/0.6735, allocations: 0.5514 MB / 0.7735 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.6739, allocations: 235.3 kB / 0.7738 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.6739, allocations: 0 / 0.7738 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05663/0.7305, allocations: 21.72 MB / 0.795 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.13, allocations: 19.31 kB / 0.795 GB, free: 11.02 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 17.29374537197873]