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.001347/0.001347, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001529/0.001529, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.542/1.542, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.245/0.245, allocations: 46.93 MB / 357.1 MB, free: 10.32 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: 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_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_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 59.91 kB / 0.4914 GB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1579, allocations: 65.99 MB / 0.5559 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.6369/0.7948, allocations: 186.6 MB / 0.7381 GB, free: 6.402 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006697/0.8015, allocations: 3.265 MB / 0.7413 GB, free: 3.129 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006952/0.8022, allocations: 23.75 kB / 0.7413 GB, free: 3.105 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.8033, allocations: 329.8 kB / 0.7416 GB, free: 2.781 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004119/0.8074, allocations: 1.421 MB / 0.743 GB, free: 1.363 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.8095, allocations: 0.7304 MB / 0.7437 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002405/0.8119, allocations: 1.559 MB / 0.7452 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006691/0.8126, allocations: 383.9 kB / 0.7456 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.8137, allocations: 0.6111 MB / 0.7462 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008025/0.8145, allocations: 482 kB / 0.7467 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.8146, allocations: 52 kB / 0.7467 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/0.8179, allocations: 1.213 MB / 0.7479 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.8182, allocations: 167.3 kB / 0.7481 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005114/0.8187, allocations: 350.4 kB / 0.7484 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003106/0.8218, allocations: 1.507 MB / 0.7499 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.8218, allocations: 8 kB / 0.7499 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8218, allocations: 0 / 0.7499 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.8218, allocations: 0 / 0.7499 GB, free: 10.31 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.002227/0.824, allocations: 1.074 MB / 0.7509 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.8241, allocations: 8.031 kB / 0.7509 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.8252, allocations: 147.4 kB / 0.7511 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008588/0.826, allocations: 0.493 MB / 0.7515 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.826, allocations: 33 kB / 0.7516 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.313e-05/0.8261, allocations: 39.94 kB / 0.7516 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.8274, allocations: 0.6023 MB / 0.7522 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.8274, allocations: 0 / 0.7522 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.08e-05/0.8275, allocations: 20 kB / 0.7522 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.8275, allocations: 8 kB / 0.7522 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.8286, allocations: 479.6 kB / 0.7527 GB, free: 7.293 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.00373/0.8323, allocations: 2.675 MB / 0.7553 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008725/0.8332, allocations: 327.4 kB / 0.7556 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.8336, allocations: 153.3 kB / 0.7558 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005085/0.8341, allocations: 437.8 kB / 0.7562 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.8341, allocations: 42.84 kB / 0.7562 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.665e-06/0.8341, allocations: 0 / 0.7562 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002109/0.8362, allocations: 0.7306 MB / 0.7569 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.8363, allocations: 140.5 kB / 0.7571 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.837, allocations: 490.1 kB / 0.7575 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/0.8371, allocations: 33.7 kB / 0.7576 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.8374, allocations: 300.2 kB / 0.7579 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.8375, allocations: 115 kB / 0.758 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.8377, allocations: 102.1 kB / 0.7581 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.8379, allocations: 362.8 kB / 0.7584 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.8383, allocations: 152.8 kB / 0.7586 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000518/0.8388, allocations: 279.7 kB / 0.7588 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008986/0.8397, allocations: 445.6 kB / 0.7592 GB, free: 56 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.8397, allocations: 0 / 0.7592 GB, free: 56 kB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001254/0.841, allocations: 0.5448 MB / 0.7598 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.841, allocations: 11.94 kB / 0.7598 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.841, allocations: 4 kB / 0.7598 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/0.8427, allocations: 236.6 kB / 0.76 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.8432, allocations: 107.9 kB / 0.7601 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005951/0.8438, allocations: 0.5953 MB / 0.7607 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.8442, allocations: 59.67 kB / 0.7608 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.084e-05/0.8443, allocations: 44 kB / 0.7608 GB, free: 14.42 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.0003372/0.8446, allocations: 195.7 kB / 0.761 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.8447, allocations: 55.67 kB / 0.761 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.8469, allocations: 1.082 MB / 0.7621 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.8469, allocations: 4 kB / 0.7621 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.847, allocations: 3.984 kB / 0.7621 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.847, allocations: 0 / 0.7621 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.8487, allocations: 1.032 MB / 0.7631 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.8487, allocations: 0.625 kB / 0.7631 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.849, allocations: 59.89 kB / 0.7632 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003384/0.8523, allocations: 440.3 kB / 0.7636 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.8524, allocations: 17.17 kB / 0.7636 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005712/0.853, allocations: 0.607 MB / 0.7642 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.853, allocations: 4.031 kB / 0.7642 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.854, allocations: 0.5162 MB / 0.7647 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.8542, allocations: 136.7 kB / 0.7648 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.8543, allocations: 8 kB / 0.7648 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.8546, allocations: 20.86 kB / 0.7649 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.8547, allocations: 23.97 kB / 0.7649 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.8547, allocations: 19.92 kB / 0.7649 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000626/0.8554, allocations: 426.8 kB / 0.7653 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8554, allocations: 3.938 kB / 0.7653 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001014/0.8564, allocations: 291.2 kB / 0.7656 GB, free: 9.336 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.0009316/0.8573, allocations: 366.4 kB / 0.7659 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.8583, allocations: 376 kB / 0.7663 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8583, allocations: 4.781 kB / 0.7663 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.8587, allocations: 155.8 kB / 0.7665 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.8606, allocations: 360 kB / 0.7668 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.8624, allocations: 0.9158 MB / 0.7677 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/0.863, allocations: 0.8596 MB / 0.7685 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00119/0.8642, allocations: 0.5548 MB / 0.7691 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.8645, allocations: 91.33 kB / 0.7692 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.8645, allocations: 0 / 0.7692 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of Templates: time 0.03341/0.8979, allocations: 16.14 MB / 0.7849 GB, free: 5.598 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/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: 6.677176255732775]