Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.001824/0.001824, 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.001766/0.001766, allocations: 156.9 kB / 24.27 MB, free: 168 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.593/1.593, allocations: 177 MB / 204.5 MB, free: 5.652 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.3414/0.3414, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 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.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.344e-05/4.6e-05, allocations: 7.094 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.4132/0.4133, allocations: 161.6 MB / 0.5262 GB, free: 4.477 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005323/0.4186, allocations: 3.408 MB / 0.5296 GB, free: 2.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000685/0.4193, allocations: 26.53 kB / 0.5296 GB, free: 2.215 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009649/0.4203, allocations: 310.8 kB / 0.5299 GB, free: 2.039 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004406/0.4247, allocations: 1.796 MB / 0.5317 GB, free: 1.172 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.4264, allocations: 0.7198 MB / 0.5324 GB, free: 0.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.4281, allocations: 1.56 MB / 0.5339 GB, free: 36 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005949/0.4287, allocations: 375.5 kB / 0.5342 GB, free: 15.81 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.4298, allocations: 0.8032 MB / 0.535 GB, free: 15.47 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006001/0.4304, allocations: 421.4 kB / 0.5354 GB, free: 15.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.475e-05/0.4305, allocations: 50.69 kB / 0.5355 GB, free: 15.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.4336, allocations: 1.203 MB / 0.5366 GB, free: 15 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.4338, allocations: 165.4 kB / 0.5368 GB, free: 14.91 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.4342, allocations: 250.9 kB / 0.537 GB, free: 14.82 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003445/0.4377, allocations: 1.786 MB / 0.5388 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4377, allocations: 0 / 0.5388 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4377, allocations: 4 kB / 0.5388 GB, free: 13.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.4377, allocations: 0 / 0.5388 GB, free: 13.83 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002287/0.44, allocations: 1.023 MB / 0.5398 GB, free: 13.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.44, allocations: 8.844 kB / 0.5398 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.4411, allocations: 225.3 kB / 0.54 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008401/0.442, allocations: 450 kB / 0.5404 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.442, allocations: 33.3 kB / 0.5405 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-05/0.4421, allocations: 51.38 kB / 0.5405 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.4434, allocations: 0.8932 MB / 0.5414 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.4435, allocations: 7.875 kB / 0.5414 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-05/0.4435, allocations: 19.91 kB / 0.5414 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.4435, allocations: 8.094 kB / 0.5414 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009303/0.4445, allocations: 475.2 kB / 0.5419 GB, free: 11.57 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.002918/0.4474, allocations: 1.891 MB / 0.5437 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.4481, allocations: 324.8 kB / 0.544 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.4485, allocations: 157.5 kB / 0.5442 GB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.4487, allocations: 51 kB / 0.5442 GB, free: 9.762 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.4487, allocations: 37.34 kB / 0.5443 GB, free: 9.719 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.4487, allocations: 0 / 0.5443 GB, free: 9.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0018/0.4505, allocations: 0.6707 MB / 0.5449 GB, free: 9.383 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.4506, allocations: 137.5 kB / 0.5451 GB, free: 9.223 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/0.4511, allocations: 415 kB / 0.5455 GB, free: 8.961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/0.4512, allocations: 32.42 kB / 0.5455 GB, free: 8.926 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.4514, allocations: 292.8 kB / 0.5458 GB, free: 8.668 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.4516, allocations: 116.2 kB / 0.5459 GB, free: 8.566 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.4517, allocations: 104.8 kB / 0.546 GB, free: 8.508 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.4519, allocations: 356.9 kB / 0.5463 GB, free: 8.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.4523, allocations: 154.4 kB / 0.5465 GB, free: 8.086 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/0.4528, allocations: 354.8 kB / 0.5468 GB, free: 7.762 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007694/0.4536, allocations: 434.5 kB / 0.5472 GB, free: 7.469 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4536, allocations: 2.719 kB / 0.5472 GB, free: 7.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001058/0.4546, allocations: 0.5499 MB / 0.5478 GB, free: 7.188 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4546, allocations: 4.906 kB / 0.5478 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4546, allocations: 5.781 kB / 0.5478 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/0.4562, allocations: 242.3 kB / 0.548 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.4566, allocations: 111.6 kB / 0.5481 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008414/0.4574, allocations: 0.5901 MB / 0.5487 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.4578, allocations: 41.12 kB / 0.5487 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.4578, allocations: 43.78 kB / 0.5488 GB, free: 6.449 MB / 426.7 MB 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.0002888/0.4581, allocations: 190.8 kB / 0.5489 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.4583, allocations: 61.28 kB / 0.549 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.4603, allocations: 1.083 MB / 0.5501 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.4603, allocations: 4 kB / 0.5501 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.4603, allocations: 0.875 kB / 0.5501 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.4603, allocations: 3.984 kB / 0.5501 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.4619, allocations: 0.8605 MB / 0.5509 GB, free: 4.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4619, allocations: 160 / 0.5509 GB, free: 4.617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.4622, allocations: 55.91 kB / 0.551 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003402/0.4656, allocations: 444.8 kB / 0.5514 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.4656, allocations: 8 kB / 0.5514 GB, free: 4.117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006165/0.4662, allocations: 0.6137 MB / 0.552 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4662, allocations: 0 / 0.552 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009872/0.4672, allocations: 0.509 MB / 0.5525 GB, free: 2.934 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.4673, allocations: 51.7 kB / 0.5525 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.4674, allocations: 11.94 kB / 0.5525 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.4677, allocations: 19.98 kB / 0.5526 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.4678, allocations: 27.95 kB / 0.5526 GB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.4679, allocations: 12 kB / 0.5526 GB, free: 2.812 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000475/0.4683, allocations: 331.1 kB / 0.5529 GB, free: 2.492 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4683, allocations: 0 / 0.5529 GB, free: 2.492 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001161/0.4695, allocations: 346.9 kB / 0.5533 GB, free: 2.152 MB / 426.7 MB 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.00112/0.4706, allocations: 465.9 kB / 0.5537 GB, free: 1.684 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009816/0.4716, allocations: 360 kB / 0.554 GB, free: 1.332 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4716, allocations: 0 / 0.554 GB, free: 1.332 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003968/0.472, allocations: 151.7 kB / 0.5542 GB, free: 1.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.4735, allocations: 327.5 kB / 0.5545 GB, free: 0.875 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.4752, allocations: 0.8616 MB / 0.5553 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.4755, allocations: 267.1 kB / 0.5556 GB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001319/0.4768, allocations: 0.546 MB / 0.5561 GB, free: 15.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.4771, allocations: 80.47 kB / 0.5562 GB, free: 15.06 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4771, allocations: 0 / 0.5562 GB, free: 15.06 MB / 442.7 MB Notification: Performance of Templates: time 0.03043/0.5075, allocations: 16.66 MB / 0.5725 GB, free: 14.61 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.236741989036091]