Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.008026/0.008026, allocations: 108.4 kB / 21.97 MB, free: 5.184 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.001973/0.001973, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.454/1.454, allocations: 230.5 MB / 258.9 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2361/0.2361, allocations: 46.93 MB / 362.3 MB, free: 4.293 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-beta.om/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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 87.83 kB / 0.4982 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3396, allocations: 66.08 MB / 0.5628 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5631/0.9027, allocations: 186.8 MB / 0.7452 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005443/0.9081, allocations: 3.295 MB / 0.7484 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000752/0.9088, allocations: 23.47 kB / 0.7485 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.9098, allocations: 333 kB / 0.7488 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004079/0.9139, allocations: 1.428 MB / 0.7502 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.9159, allocations: 0.7551 MB / 0.7509 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00205/0.9179, allocations: 1.577 MB / 0.7524 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006213/0.9186, allocations: 359.8 kB / 0.7528 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009971/0.9196, allocations: 0.6006 MB / 0.7534 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006982/0.9203, allocations: 487.3 kB / 0.7538 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.894e-05/0.9204, allocations: 53.62 kB / 0.7539 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.9234, allocations: 1.228 MB / 0.7551 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.9236, allocations: 171.4 kB / 0.7553 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004663/0.9241, allocations: 348 kB / 0.7556 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.9263, allocations: 1.513 MB / 0.7571 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9263, allocations: 1.156 kB / 0.7571 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9263, allocations: 0 / 0.7571 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.878e-05/0.9263, allocations: 0 / 0.7571 GB, free: 1.562 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.001896/0.9282, allocations: 1.007 MB / 0.7581 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.9283, allocations: 11.56 kB / 0.7581 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.9293, allocations: 142.2 kB / 0.7582 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008009/0.9301, allocations: 444.5 kB / 0.7586 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.9301, allocations: 31.25 kB / 0.7587 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.9302, allocations: 45.19 kB / 0.7587 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.9312, allocations: 0.5918 MB / 0.7593 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.9313, allocations: 0 / 0.7593 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/0.9313, allocations: 18.88 kB / 0.7593 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.9313, allocations: 15.52 kB / 0.7593 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008436/0.9322, allocations: 487.5 kB / 0.7598 GB, free: 16.64 MB / 0.5762 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.00328/0.9355, allocations: 2.633 MB / 0.7623 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.9362, allocations: 330 kB / 0.7627 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.9365, allocations: 162.1 kB / 0.7628 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.9367, allocations: 52.39 kB / 0.7629 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/0.9368, allocations: 39.53 kB / 0.7629 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.806e-06/0.9368, allocations: 0.8125 kB / 0.7629 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001699/0.9385, allocations: 0.6623 MB / 0.7635 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.9386, allocations: 132.7 kB / 0.7637 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005843/0.9392, allocations: 0.4888 MB / 0.7642 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/0.9392, allocations: 31.67 kB / 0.7642 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.9395, allocations: 287.2 kB / 0.7645 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.83e-05/0.9395, allocations: 123.7 kB / 0.7646 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.9397, allocations: 100.5 kB / 0.7647 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.9399, allocations: 364.6 kB / 0.765 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.9403, allocations: 152.5 kB / 0.7652 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.9406, allocations: 284.1 kB / 0.7654 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/0.9413, allocations: 438.9 kB / 0.7659 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.9413, allocations: 3.719 kB / 0.7659 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001157/0.9425, allocations: 0.5413 MB / 0.7664 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.9425, allocations: 8.688 kB / 0.7664 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.9425, allocations: 3.438 kB / 0.7664 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.9441, allocations: 243.8 kB / 0.7666 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.9444, allocations: 109.3 kB / 0.7667 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005872/0.945, allocations: 0.5982 MB / 0.7673 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.9454, allocations: 55.61 kB / 0.7674 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/0.9455, allocations: 43.17 kB / 0.7674 GB, free: 12.96 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.000363/0.9459, allocations: 183.3 kB / 0.7676 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.946, allocations: 59.36 kB / 0.7676 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.9479, allocations: 1.098 MB / 0.7687 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.948, allocations: 4.5 kB / 0.7687 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.948, allocations: 0 / 0.7687 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.948, allocations: 3.938 kB / 0.7687 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.9495, allocations: 1.002 MB / 0.7697 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.9495, allocations: 3.469 kB / 0.7697 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.9497, allocations: 56.27 kB / 0.7698 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/0.9528, allocations: 441.5 kB / 0.7702 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.9528, allocations: 11.88 kB / 0.7702 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005558/0.9534, allocations: 0.6115 MB / 0.7708 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9534, allocations: 2.469 kB / 0.7708 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008876/0.9543, allocations: 0.5085 MB / 0.7713 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.9545, allocations: 64.52 kB / 0.7713 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.389e-05/0.9545, allocations: 16.78 kB / 0.7714 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.9549, allocations: 18.58 kB / 0.7714 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.955, allocations: 25.69 kB / 0.7714 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.955, allocations: 21.62 kB / 0.7714 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005384/0.9555, allocations: 429.3 kB / 0.7718 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.9555, allocations: 0 / 0.7718 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008722/0.9564, allocations: 286.6 kB / 0.7721 GB, free: 11.4 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.000751/0.9571, allocations: 361.6 kB / 0.7725 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008112/0.958, allocations: 367.6 kB / 0.7728 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.958, allocations: 2.031 kB / 0.7728 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.9583, allocations: 153.5 kB / 0.773 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.9598, allocations: 363.6 kB / 0.7733 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.9614, allocations: 0.9556 MB / 0.7742 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.9619, allocations: 0.8581 MB / 0.7751 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.9622, allocations: 120.9 kB / 0.7752 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.9622, allocations: 0 / 0.7752 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.02286/0.9851, allocations: 14.79 MB / 0.7896 GB, free: 6.996 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 11.030924405902624]