Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.001818/0.001818, allocations: 90.31 kB / 20.69 MB, free: 1.02 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.002186/0.002186, allocations: 158.2 kB / 23.95 MB, free: 4.152 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.525/1.525, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.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.2142/0.2142, allocations: 34.26 MB / 294.8 MB, free: 14.54 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.GenericResistances.VolumeFlowRate,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.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,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.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 442.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.983e-05, allocations: 2.281 kB / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4001/0.4002, allocations: 161.4 MB / 0.5899 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004494/0.4047, allocations: 2.037 MB / 0.5919 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005077/0.4052, allocations: 19.81 kB / 0.592 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009195/0.4061, allocations: 301.8 kB / 0.5922 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003438/0.4095, allocations: 1.228 MB / 0.5934 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.4116, allocations: 0.6962 MB / 0.5941 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002069/0.4136, allocations: 1.511 MB / 0.5956 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005854/0.4142, allocations: 349.7 kB / 0.5959 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.4154, allocations: 0.7907 MB / 0.5967 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006146/0.416, allocations: 382.9 kB / 0.5971 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.4161, allocations: 44 kB / 0.5971 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.4178, allocations: 0.6824 MB / 0.5978 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.418, allocations: 159.4 kB / 0.5979 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.4183, allocations: 239.5 kB / 0.5982 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.4202, allocations: 1.292 MB / 0.5994 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4202, allocations: 8 kB / 0.5994 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4202, allocations: 0 / 0.5994 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.4202, allocations: 0 / 0.5994 GB, free: 10.46 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001958/0.4221, allocations: 0.9247 MB / 0.6003 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4222, allocations: 8.625 kB / 0.6003 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.4232, allocations: 147.5 kB / 0.6005 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/0.424, allocations: 386.3 kB / 0.6008 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.4241, allocations: 36.94 kB / 0.6009 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.671e-05/0.4242, allocations: 40 kB / 0.6009 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.4255, allocations: 0.8528 MB / 0.6017 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.4255, allocations: 0 / 0.6017 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/0.4256, allocations: 19.98 kB / 0.6018 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.4256, allocations: 15.94 kB / 0.6018 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009241/0.4265, allocations: 399.6 kB / 0.6022 GB, free: 7.488 MB / 0.4981 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.002787/0.4293, allocations: 1.806 MB / 0.6039 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007142/0.43, allocations: 278.8 kB / 0.6042 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.4303, allocations: 128.8 kB / 0.6043 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/0.4305, allocations: 39.97 kB / 0.6044 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.4306, allocations: 42.55 kB / 0.6044 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.4306, allocations: 0 / 0.6044 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002617/0.4332, allocations: 0.6307 MB / 0.605 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.158e-05/0.4333, allocations: 132.5 kB / 0.6051 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.4337, allocations: 381.6 kB / 0.6055 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.4338, allocations: 33.64 kB / 0.6055 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.434, allocations: 280.4 kB / 0.6058 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.4341, allocations: 107.1 kB / 0.6059 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.4344, allocations: 109.6 kB / 0.606 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4345, allocations: 350.7 kB / 0.6063 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.435, allocations: 147.9 kB / 0.6065 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/0.4356, allocations: 352.3 kB / 0.6068 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.4366, allocations: 415.3 kB / 0.6072 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4366, allocations: 4 kB / 0.6072 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001355/0.4379, allocations: 0.5251 MB / 0.6077 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4379, allocations: 4 kB / 0.6077 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.438, allocations: 4.438 kB / 0.6077 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/0.4402, allocations: 280.4 kB / 0.608 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.4406, allocations: 99.88 kB / 0.6081 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.4417, allocations: 0.5991 MB / 0.6087 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.4421, allocations: 51.72 kB / 0.6087 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.4422, allocations: 51.97 kB / 0.6088 GB, free: 392 kB / 0.4981 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002886/0.4425, allocations: 173.7 kB / 0.609 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4426, allocations: 39.77 kB / 0.609 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.4449, allocations: 1.034 MB / 0.61 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.4449, allocations: 0 / 0.61 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4449, allocations: 0 / 0.61 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4449, allocations: 3.984 kB / 0.61 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.4467, allocations: 0.8298 MB / 0.6108 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4467, allocations: 3.984 kB / 0.6108 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.447, allocations: 44.12 kB / 0.6109 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00199/0.449, allocations: 256.5 kB / 0.6111 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.449, allocations: 11.98 kB / 0.6111 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.45, allocations: 0.6108 MB / 0.6117 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.45, allocations: 4.031 kB / 0.6117 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.4514, allocations: 0.4901 MB / 0.6122 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.4515, allocations: 47.58 kB / 0.6122 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.4516, allocations: 15.89 kB / 0.6123 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.452, allocations: 19.98 kB / 0.6123 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.4521, allocations: 23.95 kB / 0.6123 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.4521, allocations: 19.97 kB / 0.6123 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004038/0.4525, allocations: 307.1 kB / 0.6126 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4525, allocations: 0 / 0.6126 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000849/0.4534, allocations: 231.5 kB / 0.6128 GB, free: 12.11 MB / 0.5137 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0007027/0.4541, allocations: 303.7 kB / 0.6131 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001432/0.4555, allocations: 364.3 kB / 0.6135 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4555, allocations: 0 / 0.6135 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007868/0.4563, allocations: 151.8 kB / 0.6136 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.4577, allocations: 269 kB / 0.6139 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.4598, allocations: 0.8712 MB / 0.6147 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.4601, allocations: 250 kB / 0.615 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009759/0.4611, allocations: 0.5323 MB / 0.6155 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.4613, allocations: 84.44 kB / 0.6156 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.4613, allocations: 0 / 0.6156 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of Templates: time 0.02318/0.4845, allocations: 12.83 MB / 0.6281 GB, free: 12.61 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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: 5.9907379150390625]