Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.001527/0.001527, allocations: 100.2 kB / 20.96 MB, free: 3.586 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.001474/0.001474, allocations: 156.9 kB / 24.26 MB, free: 296 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.481/1.481, allocations: 177 MB / 204.5 MB, free: 5.613 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.3577/0.3577, allocations: 34.24 MB / 295.2 MB, free: 0.6562 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.Bend,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.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,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.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.485e-05, allocations: 7.859 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.389/0.389, allocations: 159.9 MB / 0.5245 GB, free: 5.633 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007387/0.3964, allocations: 4.624 MB / 0.5291 GB, free: 2.562 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.3974, allocations: 25.78 kB / 0.5291 GB, free: 2.547 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.3985, allocations: 331.2 kB / 0.5294 GB, free: 2.363 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005588/0.4041, allocations: 2.21 MB / 0.5316 GB, free: 1.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.4064, allocations: 0.9507 MB / 0.5325 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.4085, allocations: 1.7 MB / 0.5341 GB, free: 15.93 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006407/0.4091, allocations: 386.4 kB / 0.5345 GB, free: 15.69 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.4113, allocations: 1.106 MB / 0.5356 GB, free: 15.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006776/0.412, allocations: 462.8 kB / 0.536 GB, free: 15.09 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.95e-05/0.412, allocations: 53.38 kB / 0.5361 GB, free: 15.09 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.4149, allocations: 1.276 MB / 0.5373 GB, free: 14.74 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.4152, allocations: 185.9 kB / 0.5375 GB, free: 14.6 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.4156, allocations: 274.1 kB / 0.5378 GB, free: 14.48 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.4189, allocations: 1.927 MB / 0.5396 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4189, allocations: 0 / 0.5396 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4189, allocations: 4 kB / 0.5397 GB, free: 13.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.4189, allocations: 3.25 kB / 0.5397 GB, free: 13.31 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.002604/0.4216, allocations: 1.079 MB / 0.5407 GB, free: 12.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.4216, allocations: 8.312 kB / 0.5407 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.423, allocations: 265.6 kB / 0.541 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009981/0.424, allocations: 467.4 kB / 0.5414 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.4241, allocations: 37.34 kB / 0.5415 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.4242, allocations: 50.47 kB / 0.5415 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.4257, allocations: 1.043 MB / 0.5425 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.4257, allocations: 2.875 kB / 0.5425 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/0.4258, allocations: 17 kB / 0.5425 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.4258, allocations: 21.02 kB / 0.5426 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009267/0.4267, allocations: 492.1 kB / 0.543 GB, free: 10.8 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.003217/0.4299, allocations: 2.012 MB / 0.545 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/0.4306, allocations: 294.5 kB / 0.5453 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.4309, allocations: 144.5 kB / 0.5454 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.4311, allocations: 54.02 kB / 0.5455 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.4312, allocations: 48.25 kB / 0.5455 GB, free: 8.855 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.595e-06/0.4312, allocations: 0 / 0.5455 GB, free: 8.855 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001752/0.4329, allocations: 0.646 MB / 0.5461 GB, free: 8.535 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.4331, allocations: 161 kB / 0.5463 GB, free: 8.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/0.4336, allocations: 436.4 kB / 0.5467 GB, free: 8.078 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/0.4337, allocations: 36.52 kB / 0.5467 GB, free: 8.039 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.4339, allocations: 310.1 kB / 0.547 GB, free: 7.766 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.4341, allocations: 131.2 kB / 0.5472 GB, free: 7.652 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.4343, allocations: 114.4 kB / 0.5473 GB, free: 7.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4345, allocations: 361.3 kB / 0.5476 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.4348, allocations: 146.1 kB / 0.5478 GB, free: 7.172 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.4353, allocations: 417.1 kB / 0.5482 GB, free: 6.762 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007622/0.436, allocations: 477.3 kB / 0.5486 GB, free: 6.414 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.436, allocations: 0 / 0.5486 GB, free: 6.414 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001096/0.4371, allocations: 0.579 MB / 0.5492 GB, free: 6.121 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.4372, allocations: 14.36 kB / 0.5492 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.4372, allocations: 5.594 kB / 0.5492 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.4388, allocations: 245.8 kB / 0.5494 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.4392, allocations: 117.1 kB / 0.5495 GB, free: 5.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000745/0.44, allocations: 0.5876 MB / 0.5501 GB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.4404, allocations: 47.62 kB / 0.5502 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.4405, allocations: 55.98 kB / 0.5502 GB, free: 5.293 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.0003549/0.4408, allocations: 189.6 kB / 0.5504 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.441, allocations: 63.66 kB / 0.5505 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.4432, allocations: 1.099 MB / 0.5515 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4432, allocations: 4 kB / 0.5515 GB, free: 3.926 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.4432, allocations: 4 kB / 0.5515 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4432, allocations: 0 / 0.5515 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.4447, allocations: 0.8498 MB / 0.5524 GB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-06/0.4447, allocations: 4.875 kB / 0.5524 GB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.445, allocations: 47.92 kB / 0.5524 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003474/0.4484, allocations: 444.4 kB / 0.5528 GB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.4485, allocations: 11.94 kB / 0.5529 GB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006068/0.4491, allocations: 0.6036 MB / 0.5534 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4491, allocations: 2.938 kB / 0.5534 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009374/0.45, allocations: 0.4895 MB / 0.5539 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.4501, allocations: 47.64 kB / 0.554 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/0.4502, allocations: 15.89 kB / 0.554 GB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.4506, allocations: 20.05 kB / 0.554 GB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.098e-05/0.4506, allocations: 31.95 kB / 0.554 GB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.4507, allocations: 12 kB / 0.554 GB, free: 1.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005088/0.4512, allocations: 350.8 kB / 0.5544 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4512, allocations: 0 / 0.5544 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001268/0.4525, allocations: 362.9 kB / 0.5547 GB, free: 0.5312 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.001256/0.4537, allocations: 466 kB / 0.5552 GB, free: 68 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009692/0.4547, allocations: 351.4 kB / 0.5555 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4547, allocations: 0 / 0.5555 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.455, allocations: 145.4 kB / 0.5556 GB, free: 15.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.4566, allocations: 346.1 kB / 0.556 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.4583, allocations: 0.8952 MB / 0.5568 GB, free: 14.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.4588, allocations: 275.5 kB / 0.5571 GB, free: 14.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001161/0.46, allocations: 0.5564 MB / 0.5577 GB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.4602, allocations: 92.45 kB / 0.5577 GB, free: 13.36 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4602, allocations: 0 / 0.5577 GB, free: 13.36 MB / 442.7 MB Notification: Performance of Templates: time 0.03251/0.4927, allocations: 17.39 MB / 0.5747 GB, free: 12.2 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.1106755919754505]