Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.001464/0.001464, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001424/0.001424, allocations: 221.3 kB / 23 MB, free: 5.57 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.505/1.505, allocations: 230.2 MB / 256.2 MB, free: 8.531 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.2385/0.2385, allocations: 46.91 MB / 359.4 MB, free: 4.855 MB / 286.1 MB " [Timeout remaining time 179] 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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003243/0.003243, allocations: 79.88 kB / 0.4946 GB, free: 8.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4292, allocations: 65.99 MB / 0.5591 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.6595/1.089, allocations: 184.9 MB / 0.7397 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007111/1.096, allocations: 4.64 MB / 0.7442 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008702/1.097, allocations: 17.64 kB / 0.7442 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/1.098, allocations: 347.9 kB / 0.7445 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005544/1.103, allocations: 1.811 MB / 0.7463 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002719/1.106, allocations: 0.9517 MB / 0.7472 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002247/1.108, allocations: 1.722 MB / 0.7489 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005557/1.109, allocations: 376.9 kB / 0.7493 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/1.111, allocations: 0.8546 MB / 0.7501 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006984/1.111, allocations: 0.5242 MB / 0.7506 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/1.111, allocations: 54.19 kB / 0.7507 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/1.115, allocations: 1.316 MB / 0.752 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/1.115, allocations: 182.3 kB / 0.7521 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005336/1.116, allocations: 372.6 kB / 0.7525 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002958/1.119, allocations: 1.643 MB / 0.7541 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.119, allocations: 0.8438 kB / 0.7541 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/1.119, allocations: 0 / 0.7541 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.08e-05/1.119, allocations: 1.062 kB / 0.7541 GB, free: 1.508 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.001982/1.121, allocations: 1.137 MB / 0.7552 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.121, allocations: 9.312 kB / 0.7552 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/1.122, allocations: 167.9 kB / 0.7554 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008966/1.123, allocations: 0.5102 MB / 0.7559 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/1.123, allocations: 34.69 kB / 0.7559 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-05/1.123, allocations: 45.38 kB / 0.756 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/1.124, allocations: 0.6446 MB / 0.7566 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.124, allocations: 0 / 0.7566 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/1.124, allocations: 22.19 kB / 0.7566 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/1.124, allocations: 14.25 kB / 0.7566 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/1.125, allocations: 499.1 kB / 0.7571 GB, free: 16.39 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.003163/1.128, allocations: 2.654 MB / 0.7597 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006441/1.129, allocations: 305.3 kB / 0.76 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/1.129, allocations: 141 kB / 0.7601 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005227/1.129, allocations: 437.8 kB / 0.7605 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/1.129, allocations: 49.08 kB / 0.7606 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.803e-06/1.129, allocations: 0 / 0.7606 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001688/1.131, allocations: 0.703 MB / 0.7613 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/1.131, allocations: 164.1 kB / 0.7614 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006136/1.132, allocations: 0.5165 MB / 0.7619 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/1.132, allocations: 35.73 kB / 0.762 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/1.132, allocations: 309.4 kB / 0.7622 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/1.132, allocations: 132.3 kB / 0.7624 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/1.132, allocations: 115.3 kB / 0.7625 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002023/1.133, allocations: 369.6 kB / 0.7628 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/1.133, allocations: 144 kB / 0.763 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/1.133, allocations: 326 kB / 0.7633 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006529/1.134, allocations: 477.3 kB / 0.7637 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.134, allocations: 0 / 0.7637 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009942/1.135, allocations: 0.576 MB / 0.7643 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.135, allocations: 12.22 kB / 0.7643 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.135, allocations: 3.531 kB / 0.7643 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/1.136, allocations: 236.4 kB / 0.7645 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/1.137, allocations: 123.4 kB / 0.7647 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005601/1.137, allocations: 0.58 MB / 0.7652 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/1.138, allocations: 65.69 kB / 0.7653 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.661e-05/1.138, allocations: 57.91 kB / 0.7653 GB, free: 12.06 MB / 0.5762 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.000313/1.138, allocations: 190.2 kB / 0.7655 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/1.138, allocations: 63.64 kB / 0.7656 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/1.14, allocations: 1.107 MB / 0.7667 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.14, allocations: 3.406 kB / 0.7667 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.14, allocations: 0.8438 kB / 0.7667 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/1.14, allocations: 3.938 kB / 0.7667 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/1.142, allocations: 1.014 MB / 0.7677 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.142, allocations: 0 / 0.7677 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/1.142, allocations: 53.27 kB / 0.7677 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003103/1.145, allocations: 440.5 kB / 0.7681 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/1.145, allocations: 9.141 kB / 0.7681 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004657/1.145, allocations: 0.5985 MB / 0.7687 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.145, allocations: 3.281 kB / 0.7687 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/1.146, allocations: 0.5092 MB / 0.7692 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/1.146, allocations: 134.7 kB / 0.7694 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/1.146, allocations: 12.38 kB / 0.7694 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/1.147, allocations: 15.81 kB / 0.7694 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/1.147, allocations: 28.28 kB / 0.7694 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/1.147, allocations: 19.3 kB / 0.7694 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000496/1.147, allocations: 450.3 kB / 0.7699 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.147, allocations: 4.297 kB / 0.7699 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009258/1.148, allocations: 301.9 kB / 0.7702 GB, free: 10.32 MB / 0.5762 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.000904/1.149, allocations: 393.6 kB / 0.7705 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007272/1.15, allocations: 356.4 kB / 0.7709 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.15, allocations: 0.7812 kB / 0.7709 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/1.15, allocations: 147 kB / 0.771 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/1.152, allocations: 415 kB / 0.7714 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/1.154, allocations: 0.9589 MB / 0.7723 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/1.154, allocations: 0.8719 MB / 0.7732 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001039/1.155, allocations: 0.5627 MB / 0.7737 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/1.155, allocations: 92.67 kB / 0.7738 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/1.155, allocations: 0 / 0.7738 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of Templates: time 0.03227/1.188, allocations: 17.47 MB / 0.7909 GB, free: 4.504 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.718448500148952]