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.001138/0.001138, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001167/0.001167, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.9872/0.9872, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.2813/0.2813, allocations: 34.87 MB / 296.3 MB, free: 472 kB / 266.7 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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.[0-9,]+..m_flow|IN_p.ports.[0-9,]+..p|IN_p.ports.[0-9,]+..h_outflow|OUT_dp.ports.[0-9,]+..m_flow|OUT_dp.ports.[0-9,]+..p|OUT_dp.ports.[0-9,]+..h_outflow|OUT_mflow.ports.[0-9,]+..m_flow|OUT_mflow.ports.[0-9,]+..p|OUT_mflow.ports.[0-9,]+..h_outflow|IN_mflow.ports.[0-9,]+..m_flow|IN_mflow.ports.[0-9,]+..p|IN_mflow.ports.[0-9,]+..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.[0-9,]+..m_flow|IN_p.ports.[0-9,]+..p|IN_p.ports.[0-9,]+..h_outflow|OUT_dp.ports.[0-9,]+..m_flow|OUT_dp.ports.[0-9,]+..p|OUT_dp.ports.[0-9,]+..h_outflow|OUT_mflow.ports.[0-9,]+..m_flow|OUT_mflow.ports.[0-9,]+..p|OUT_mflow.ports.[0-9,]+..h_outflow|IN_mflow.ports.[0-9,]+..m_flow|IN_mflow.ports.[0-9,]+..p|IN_mflow.ports.[0-9,]+..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.082e-06/1.082e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.76e-05, allocations: 8.422 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3174/0.3175, allocations: 149.1 MB / 0.5155 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004833/0.3223, allocations: 3.79 MB / 0.5192 GB, free: 12.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004105/0.3227, allocations: 27.09 kB / 0.5192 GB, free: 12.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.3231, allocations: 191 kB / 0.5194 GB, free: 11.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.3256, allocations: 1.358 MB / 0.5207 GB, free: 11.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.3269, allocations: 0.7913 MB / 0.5215 GB, free: 10.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.3283, allocations: 1.762 MB / 0.5232 GB, free: 9.957 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/0.3288, allocations: 394.5 kB / 0.5236 GB, free: 9.727 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.3302, allocations: 0.9821 MB / 0.5246 GB, free: 9.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005612/0.3308, allocations: 0.5196 MB / 0.5251 GB, free: 9.168 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.671e-05/0.3308, allocations: 52.03 kB / 0.5251 GB, free: 9.168 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.332, allocations: 0.8584 MB / 0.526 GB, free: 8.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.3321, allocations: 173.9 kB / 0.5261 GB, free: 8.832 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.3324, allocations: 272.8 kB / 0.5264 GB, free: 8.734 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.3338, allocations: 1.284 MB / 0.5276 GB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3338, allocations: 0 / 0.5276 GB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3338, allocations: 0 / 0.5276 GB, free: 8.262 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.3338, allocations: 0 / 0.5276 GB, free: 8.262 MB / 410.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.00109/0.3349, allocations: 1.126 MB / 0.5287 GB, free: 7.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.3349, allocations: 15.78 kB / 0.5287 GB, free: 7.477 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006586/0.3356, allocations: 261 kB / 0.529 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.336, allocations: 457.8 kB / 0.5294 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.336, allocations: 36.17 kB / 0.5295 GB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.3361, allocations: 50.34 kB / 0.5295 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.3367, allocations: 0.9543 MB / 0.5304 GB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3367, allocations: 0 / 0.5304 GB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.3368, allocations: 24.94 kB / 0.5305 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3368, allocations: 15.38 kB / 0.5305 GB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/0.3372, allocations: 295.5 kB / 0.5308 GB, free: 6.176 MB / 410.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.001412/0.3386, allocations: 2.438 MB / 0.5331 GB, free: 4.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.3389, allocations: 231.1 kB / 0.5334 GB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.339, allocations: 90.95 kB / 0.5335 GB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.3392, allocations: 46.33 kB / 0.5335 GB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.3392, allocations: 44.95 kB / 0.5335 GB, free: 4.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.353e-06/0.3392, allocations: 6.375 kB / 0.5335 GB, free: 4.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007933/0.34, allocations: 496.9 kB / 0.534 GB, free: 3.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.34, allocations: 164.3 kB / 0.5342 GB, free: 3.723 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.3403, allocations: 460.7 kB / 0.5346 GB, free: 3.465 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.3403, allocations: 34.92 kB / 0.5346 GB, free: 3.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3404, allocations: 361.1 kB / 0.535 GB, free: 3.129 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.3405, allocations: 133.3 kB / 0.5351 GB, free: 3.023 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.3406, allocations: 129.2 kB / 0.5352 GB, free: 2.957 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.3407, allocations: 0.5317 MB / 0.5358 GB, free: 2.441 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3408, allocations: 81.47 kB / 0.5358 GB, free: 2.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.341, allocations: 430.2 kB / 0.5363 GB, free: 1.977 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.3413, allocations: 401.7 kB / 0.5366 GB, free: 1.648 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3413, allocations: 4 kB / 0.5366 GB, free: 1.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004917/0.3418, allocations: 466.1 kB / 0.5371 GB, free: 1.473 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.3418, allocations: 10.09 kB / 0.5371 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3418, allocations: 5.5 kB / 0.5371 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006361/0.3425, allocations: 202.1 kB / 0.5373 GB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.3427, allocations: 118.7 kB / 0.5374 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002168/0.3429, allocations: 0.8273 MB / 0.5382 GB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.343, allocations: 45.7 kB / 0.5383 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.3431, allocations: 54.75 kB / 0.5383 GB, free: 0.5898 MB / 410.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.0001128/0.3432, allocations: 192 kB / 0.5385 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/0.3433, allocations: 62.61 kB / 0.5386 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009994/0.3443, allocations: 1.025 MB / 0.5396 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3443, allocations: 7 kB / 0.5396 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3443, allocations: 3.75 kB / 0.5396 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3443, allocations: 6.656 kB / 0.5396 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/0.345, allocations: 0.8003 MB / 0.5403 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.345, allocations: 0 / 0.5403 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3452, allocations: 58.8 kB / 0.5404 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.3463, allocations: 321.2 kB / 0.5407 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.3463, allocations: 9.562 kB / 0.5407 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003239/0.3466, allocations: 0.8416 MB / 0.5415 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3466, allocations: 3.938 kB / 0.5415 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.3471, allocations: 472 kB / 0.542 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.3471, allocations: 52.2 kB / 0.542 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.3472, allocations: 17.58 kB / 0.5421 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.3475, allocations: 18.62 kB / 0.5421 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.3475, allocations: 28.34 kB / 0.5421 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.3476, allocations: 21.14 kB / 0.5421 GB, free: 14.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003411/0.3479, allocations: 335.1 kB / 0.5424 GB, free: 14.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3479, allocations: 0 / 0.5424 GB, free: 14.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008065/0.3487, allocations: 297.6 kB / 0.5427 GB, free: 13.95 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.0006419/0.3493, allocations: 359.8 kB / 0.5431 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005662/0.3499, allocations: 268.6 kB / 0.5433 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3499, allocations: 2.656 kB / 0.5433 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.3501, allocations: 117.2 kB / 0.5434 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.3509, allocations: 335.6 kB / 0.5438 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.352, allocations: 0.8736 MB / 0.5446 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.167e-05/0.3521, allocations: 128.8 kB / 0.5447 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008902/0.353, allocations: 0.5545 MB / 0.5453 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.3531, allocations: 94.19 kB / 0.5454 GB, free: 12.46 MB / 426.7 MB Notification: Performance of SimCode: time 6.42e-07/0.3531, allocations: 0 / 0.5454 GB, free: 12.46 MB / 426.7 MB Notification: Performance of Templates: time 0.01809/0.3712, allocations: 16.64 MB / 0.5616 GB, free: 13.14 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.018225705716759]