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.00125/0.00125, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001385/0.001385, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.504/1.504, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.2343/0.2343, allocations: 46.88 MB / 358.1 MB, free: 10.53 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.002278/0.002278, allocations: 83.86 kB / 0.4924 GB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1228, allocations: 65.98 MB / 0.5568 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5078/0.6307, allocations: 186.6 MB / 0.739 GB, free: 7.023 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005809/0.6365, allocations: 3.263 MB / 0.7422 GB, free: 3.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006509/0.6371, allocations: 19.88 kB / 0.7423 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009715/0.6381, allocations: 317.8 kB / 0.7426 GB, free: 3.418 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003919/0.642, allocations: 1.43 MB / 0.744 GB, free: 1.988 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.6441, allocations: 0.7288 MB / 0.7447 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002516/0.6466, allocations: 1.559 MB / 0.7462 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000685/0.6473, allocations: 371.9 kB / 0.7465 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.6484, allocations: 0.6033 MB / 0.7471 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007322/0.6492, allocations: 486 kB / 0.7476 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.6493, allocations: 52 kB / 0.7476 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.6521, allocations: 1.209 MB / 0.7488 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.6523, allocations: 167.3 kB / 0.749 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00048/0.6528, allocations: 350.5 kB / 0.7493 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.6558, allocations: 1.503 MB / 0.7508 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.6558, allocations: 4 kB / 0.7508 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6558, allocations: 0 / 0.7508 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.6559, allocations: 3.938 kB / 0.7508 GB, free: 10.96 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.002237/0.6581, allocations: 1.078 MB / 0.7518 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.6582, allocations: 8.031 kB / 0.7519 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.6592, allocations: 143.5 kB / 0.752 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008799/0.6601, allocations: 0.489 MB / 0.7525 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.6601, allocations: 37 kB / 0.7525 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.466e-05/0.6602, allocations: 39.94 kB / 0.7525 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.6614, allocations: 0.5945 MB / 0.7531 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.6614, allocations: 3.938 kB / 0.7531 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.6615, allocations: 24 kB / 0.7532 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.6615, allocations: 8 kB / 0.7532 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.6625, allocations: 483.6 kB / 0.7536 GB, free: 7.938 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.003438/0.6659, allocations: 2.667 MB / 0.7562 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00084/0.6668, allocations: 338.2 kB / 0.7565 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.6671, allocations: 153.3 kB / 0.7567 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004527/0.6676, allocations: 437.8 kB / 0.7571 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.6676, allocations: 38.84 kB / 0.7571 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.6676, allocations: 0 / 0.7571 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001942/0.6696, allocations: 0.7384 MB / 0.7579 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.6696, allocations: 132.5 kB / 0.758 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006866/0.6703, allocations: 494.1 kB / 0.7585 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.6704, allocations: 33.7 kB / 0.7585 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.6706, allocations: 296.2 kB / 0.7588 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.6708, allocations: 119 kB / 0.7589 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.671, allocations: 106 kB / 0.759 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.6711, allocations: 362.7 kB / 0.7593 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.6715, allocations: 148.8 kB / 0.7595 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/0.672, allocations: 283.7 kB / 0.7598 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008231/0.6728, allocations: 445.6 kB / 0.7602 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6728, allocations: 0 / 0.7602 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001167/0.6739, allocations: 0.5406 MB / 0.7607 GB, free: 148 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.674, allocations: 11.94 kB / 0.7607 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.674, allocations: 4 kB / 0.7607 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.6756, allocations: 249 kB / 0.761 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.676, allocations: 107.8 kB / 0.7611 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005705/0.6766, allocations: 0.5914 MB / 0.7616 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.677, allocations: 51.61 kB / 0.7617 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.6771, allocations: 44 kB / 0.7617 GB, free: 15.07 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.0003054/0.6774, allocations: 193.6 kB / 0.7619 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.6775, allocations: 59.66 kB / 0.762 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.6796, allocations: 1.08 MB / 0.763 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.6796, allocations: 7.984 kB / 0.763 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6796, allocations: 0 / 0.763 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6796, allocations: 3.984 kB / 0.763 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.6813, allocations: 1.03 MB / 0.764 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6813, allocations: 0 / 0.764 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.6815, allocations: 51.91 kB / 0.7641 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003341/0.6849, allocations: 448.3 kB / 0.7645 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.6849, allocations: 12 kB / 0.7645 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005529/0.6855, allocations: 0.6069 MB / 0.7651 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.6855, allocations: 4.031 kB / 0.7651 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.6865, allocations: 0.5144 MB / 0.7656 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.6867, allocations: 140.7 kB / 0.7658 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.332e-05/0.6868, allocations: 8 kB / 0.7658 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.6871, allocations: 23.92 kB / 0.7658 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.6872, allocations: 27.97 kB / 0.7658 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.6872, allocations: 19.92 kB / 0.7658 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005908/0.6878, allocations: 422.8 kB / 0.7662 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6878, allocations: 0 / 0.7662 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009581/0.6888, allocations: 291.2 kB / 0.7665 GB, free: 9.98 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.001019/0.6898, allocations: 384.7 kB / 0.7669 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009975/0.6908, allocations: 364.1 kB / 0.7672 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.6908, allocations: 11.84 kB / 0.7672 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.6912, allocations: 153 kB / 0.7674 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.693, allocations: 359.7 kB / 0.7677 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.6946, allocations: 0.9388 MB / 0.7687 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.6951, allocations: 0.8634 MB / 0.7695 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/0.6955, allocations: 123.4 kB / 0.7696 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/0.6955, allocations: 0 / 0.7696 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of Templates: time 0.02546/0.721, allocations: 14.8 MB / 0.7841 GB, free: 7.992 MB / 0.5919 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.121112355962396]