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.001486/0.001486, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001618/0.001618, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.347/1.347, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.2154/0.2154, allocations: 46.93 MB / 361.5 MB, free: 4.176 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: 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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 75.88 kB / 0.4974 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2984, allocations: 66.07 MB / 0.562 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4835/0.7818, allocations: 186.9 MB / 0.7444 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004401/0.7862, allocations: 3.292 MB / 0.7477 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006436/0.7869, allocations: 19.91 kB / 0.7477 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009903/0.7879, allocations: 330.2 kB / 0.748 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003542/0.7914, allocations: 1.435 MB / 0.7494 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.7931, allocations: 0.7411 MB / 0.7501 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001834/0.795, allocations: 1.588 MB / 0.7517 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006015/0.7956, allocations: 362.1 kB / 0.752 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.7966, allocations: 0.603 MB / 0.7526 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000829/0.7974, allocations: 486.2 kB / 0.7531 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.7975, allocations: 52.2 kB / 0.7531 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.7998, allocations: 1.228 MB / 0.7543 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.8001, allocations: 170.1 kB / 0.7545 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005727/0.8006, allocations: 347.4 kB / 0.7548 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.803, allocations: 1.517 MB / 0.7563 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.803, allocations: 0.9688 kB / 0.7563 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.803, allocations: 0 / 0.7563 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.472e-05/0.803, allocations: 3.969 kB / 0.7563 GB, free: 1.586 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.00211/0.8052, allocations: 0.9999 MB / 0.7573 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.8052, allocations: 8.531 kB / 0.7573 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009984/0.8062, allocations: 145.3 kB / 0.7574 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008292/0.807, allocations: 448.2 kB / 0.7578 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.807, allocations: 33.09 kB / 0.7579 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.8071, allocations: 41.83 kB / 0.7579 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009247/0.808, allocations: 0.5935 MB / 0.7585 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.808, allocations: 2.469 kB / 0.7585 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.506e-05/0.8081, allocations: 21.16 kB / 0.7585 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.8081, allocations: 10.91 kB / 0.7585 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007812/0.8089, allocations: 484.8 kB / 0.759 GB, free: 16.66 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.002856/0.8117, allocations: 2.639 MB / 0.7616 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/0.8123, allocations: 326.7 kB / 0.7619 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.8126, allocations: 162.5 kB / 0.762 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.8128, allocations: 51.25 kB / 0.7621 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.8128, allocations: 40.44 kB / 0.7621 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.8128, allocations: 0.6875 kB / 0.7621 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001446/0.8143, allocations: 0.661 MB / 0.7628 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/0.8143, allocations: 135 kB / 0.7629 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000475/0.8148, allocations: 0.4883 MB / 0.7634 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/0.8149, allocations: 29.08 kB / 0.7634 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.815, allocations: 292.2 kB / 0.7637 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.008e-05/0.8151, allocations: 117.3 kB / 0.7638 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.8152, allocations: 101.7 kB / 0.7639 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8154, allocations: 363.2 kB / 0.7642 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.8156, allocations: 154.7 kB / 0.7644 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.816, allocations: 281.5 kB / 0.7647 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/0.8165, allocations: 439.3 kB / 0.7651 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8165, allocations: 8.609 kB / 0.7651 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008448/0.8174, allocations: 0.5454 MB / 0.7656 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.8174, allocations: 7.562 kB / 0.7656 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.8174, allocations: 2.625 kB / 0.7656 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.8188, allocations: 236 kB / 0.7658 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.8191, allocations: 108.3 kB / 0.766 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004708/0.8196, allocations: 0.5999 MB / 0.7665 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.8199, allocations: 54.25 kB / 0.7666 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.8199, allocations: 46.88 kB / 0.7666 GB, free: 12.99 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.000238/0.8202, allocations: 185 kB / 0.7668 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.8203, allocations: 58.41 kB / 0.7669 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.8218, allocations: 1.095 MB / 0.7679 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.8219, allocations: 6.219 kB / 0.7679 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8219, allocations: 0 / 0.7679 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.8219, allocations: 3.438 kB / 0.7679 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.8232, allocations: 1.004 MB / 0.7689 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.8232, allocations: 0 / 0.7689 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.8234, allocations: 53.38 kB / 0.769 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002922/0.8263, allocations: 446.9 kB / 0.7694 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.8263, allocations: 8.75 kB / 0.7694 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004593/0.8268, allocations: 0.6157 MB / 0.77 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8268, allocations: 3.531 kB / 0.77 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.8275, allocations: 0.5079 MB / 0.7705 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.8276, allocations: 65.88 kB / 0.7706 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.81e-05/0.8277, allocations: 13.62 kB / 0.7706 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.828, allocations: 22.16 kB / 0.7706 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.8281, allocations: 25.91 kB / 0.7706 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.8281, allocations: 20.97 kB / 0.7707 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004175/0.8285, allocations: 423 kB / 0.7711 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8285, allocations: 0 / 0.7711 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007556/0.8293, allocations: 287.2 kB / 0.7713 GB, free: 11.43 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.0006293/0.8299, allocations: 366.7 kB / 0.7717 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006889/0.8306, allocations: 363.5 kB / 0.772 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8306, allocations: 1.094 kB / 0.772 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.8309, allocations: 161.5 kB / 0.7722 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.8324, allocations: 354.4 kB / 0.7725 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.8336, allocations: 0.9488 MB / 0.7734 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.8341, allocations: 0.8589 MB / 0.7743 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.8344, allocations: 133.2 kB / 0.7744 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/0.8344, allocations: 0 / 0.7744 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of Templates: time 0.01672/0.8511, allocations: 14.79 MB / 0.7889 GB, free: 7 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_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: 9.87684209505096]