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.001778/0.001778, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002049/0.002049, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.607/1.607, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3691/0.3691, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 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 1.653e-06/1.653e-06, allocations: 3.938 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.239e-05/4.404e-05, allocations: 6.25 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4014/0.4015, allocations: 159.9 MB / 0.5245 GB, free: 5.688 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006438/0.4079, allocations: 4.266 MB / 0.5287 GB, free: 2.828 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007135/0.4086, allocations: 26.25 kB / 0.5287 GB, free: 2.812 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009631/0.4096, allocations: 336.8 kB / 0.529 GB, free: 2.621 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004944/0.4145, allocations: 1.875 MB / 0.5309 GB, free: 1.621 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.4168, allocations: 0.9748 MB / 0.5318 GB, free: 1.109 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.4187, allocations: 1.737 MB / 0.5335 GB, free: 276 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000542/0.4192, allocations: 394 kB / 0.5339 GB, free: 24 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.4212, allocations: 1.1 MB / 0.535 GB, free: 15.57 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006786/0.4219, allocations: 461.7 kB / 0.5354 GB, free: 15.43 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.464e-05/0.422, allocations: 53.34 kB / 0.5354 GB, free: 15.43 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.4243, allocations: 0.9956 MB / 0.5364 GB, free: 15.15 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.4245, allocations: 174.7 kB / 0.5366 GB, free: 15.05 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003887/0.4249, allocations: 277.6 kB / 0.5369 GB, free: 14.95 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.4278, allocations: 1.691 MB / 0.5385 GB, free: 14.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4278, allocations: 3.984 kB / 0.5385 GB, free: 14.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.4278, allocations: 0 / 0.5385 GB, free: 14.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.4278, allocations: 0 / 0.5385 GB, free: 14.02 MB / 426.7 MB 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.002142/0.43, allocations: 1.045 MB / 0.5395 GB, free: 13.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.43, allocations: 10.62 kB / 0.5395 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.4314, allocations: 267.9 kB / 0.5398 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009211/0.4323, allocations: 476.8 kB / 0.5402 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.4324, allocations: 33.16 kB / 0.5403 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/0.4325, allocations: 50.03 kB / 0.5403 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.434, allocations: 1.047 MB / 0.5413 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.434, allocations: 3.938 kB / 0.5414 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.4341, allocations: 24.06 kB / 0.5414 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.4341, allocations: 18.31 kB / 0.5414 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009369/0.435, allocations: 0.4901 MB / 0.5419 GB, free: 11.52 MB / 426.7 MB 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.0033/0.4383, allocations: 2.017 MB / 0.5438 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/0.439, allocations: 302.4 kB / 0.5441 GB, free: 9.707 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.4393, allocations: 141.9 kB / 0.5443 GB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/0.4396, allocations: 53.11 kB / 0.5443 GB, free: 9.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.4396, allocations: 37.44 kB / 0.5444 GB, free: 9.578 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.753e-06/0.4396, allocations: 0 / 0.5444 GB, free: 9.578 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001811/0.4414, allocations: 0.6709 MB / 0.545 GB, free: 9.238 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.4415, allocations: 159.5 kB / 0.5452 GB, free: 9.051 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.4421, allocations: 449.5 kB / 0.5456 GB, free: 8.777 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.4421, allocations: 32.45 kB / 0.5456 GB, free: 8.742 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.4424, allocations: 314.1 kB / 0.5459 GB, free: 8.465 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.4425, allocations: 130.9 kB / 0.546 GB, free: 8.352 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.4427, allocations: 114.7 kB / 0.5462 GB, free: 8.289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.443, allocations: 359.9 kB / 0.5465 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.4433, allocations: 146.3 kB / 0.5466 GB, free: 7.875 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.4439, allocations: 433.1 kB / 0.547 GB, free: 7.449 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007947/0.4447, allocations: 472.9 kB / 0.5475 GB, free: 7.105 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4447, allocations: 2.656 kB / 0.5475 GB, free: 7.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001082/0.4457, allocations: 0.5825 MB / 0.5481 GB, free: 6.812 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.4458, allocations: 5.312 kB / 0.5481 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.4458, allocations: 8.969 kB / 0.5481 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.4474, allocations: 245.2 kB / 0.5483 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.4477, allocations: 121 kB / 0.5484 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005695/0.4483, allocations: 0.5862 MB / 0.549 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.4487, allocations: 52.95 kB / 0.5491 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/0.4488, allocations: 52.95 kB / 0.5491 GB, free: 6.062 MB / 426.7 MB 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.0003073/0.4491, allocations: 197.6 kB / 0.5493 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.4492, allocations: 73.95 kB / 0.5494 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.4512, allocations: 1.099 MB / 0.5504 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.4513, allocations: 4 kB / 0.5504 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4513, allocations: 0 / 0.5504 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4513, allocations: 0 / 0.5504 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.4528, allocations: 0.8615 MB / 0.5513 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4528, allocations: 0 / 0.5513 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.453, allocations: 52.16 kB / 0.5513 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003706/0.4567, allocations: 440.2 kB / 0.5518 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.4568, allocations: 20.86 kB / 0.5518 GB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005893/0.4573, allocations: 0.5953 MB / 0.5524 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4573, allocations: 0 / 0.5524 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009239/0.4583, allocations: 0.5012 MB / 0.5528 GB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.4584, allocations: 48.16 kB / 0.5529 GB, free: 2.414 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.4585, allocations: 27.94 kB / 0.5529 GB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.4588, allocations: 12 kB / 0.5529 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.4589, allocations: 27.89 kB / 0.553 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.459, allocations: 26.92 kB / 0.553 GB, free: 2.324 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005325/0.4595, allocations: 354.9 kB / 0.5533 GB, free: 1.977 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4595, allocations: 0 / 0.5533 GB, free: 1.977 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001117/0.4606, allocations: 307.2 kB / 0.5536 GB, free: 1.676 MB / 426.7 MB 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.0009323/0.4615, allocations: 403.2 kB / 0.554 GB, free: 1.273 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009026/0.4624, allocations: 352.7 kB / 0.5543 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.4624, allocations: 4 kB / 0.5543 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.4628, allocations: 140 kB / 0.5545 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.4644, allocations: 338.3 kB / 0.5548 GB, free: 480 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.4662, allocations: 0.9092 MB / 0.5557 GB, free: 15.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.4665, allocations: 267.6 kB / 0.5559 GB, free: 15.22 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001174/0.4677, allocations: 0.5612 MB / 0.5565 GB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.468, allocations: 92.45 kB / 0.5566 GB, free: 14.58 MB / 442.7 MB Notification: Performance of SimCode: time 6.62e-07/0.468, allocations: 4 kB / 0.5566 GB, free: 14.58 MB / 442.7 MB Notification: Performance of Templates: time 0.02925/0.4972, allocations: 15.4 MB / 0.5716 GB, free: 15.41 MB / 458.7 MB " [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.1.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.327705177012831]