Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008783/0.0008783, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009464/0.0009464, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9379/0.9379, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2755/0.2755, allocations: 32.81 MB / 294.6 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.52e-05, allocations: 4.984 kB / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3012/0.3012, allocations: 148.1 MB / 471.4 MB, free: 16.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00436/0.3055, allocations: 3.477 MB / 474.9 MB, free: 16.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004927/0.306, allocations: 21.12 kB / 474.9 MB, free: 16.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.3065, allocations: 178.8 kB / 475.1 MB, free: 16.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.3095, allocations: 1.564 MB / 476.6 MB, free: 16.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009539/0.3105, allocations: 0.5752 MB / 477.2 MB, free: 16.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.3119, allocations: 1.525 MB / 478.7 MB, free: 16.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004932/0.3124, allocations: 377.5 kB / 479.1 MB, free: 16.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008733/0.3133, allocations: 0.7605 MB / 479.9 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005634/0.3138, allocations: 468.1 kB / 480.3 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.745e-05/0.3139, allocations: 51.84 kB / 480.4 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.3155, allocations: 1.032 MB / 481.4 MB, free: 16.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.3157, allocations: 170.2 kB / 481.6 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.3159, allocations: 249.2 kB / 481.8 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.3175, allocations: 1.402 MB / 483.2 MB, free: 16.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3175, allocations: 2.578 kB / 483.2 MB, free: 16.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3175, allocations: 4 kB / 483.2 MB, free: 16.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.3176, allocations: 0 / 483.2 MB, free: 16.04 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001246/0.3188, allocations: 0.9695 MB / 484.2 MB, free: 15.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.3188, allocations: 8.406 kB / 484.2 MB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005701/0.3194, allocations: 215 kB / 484.4 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.3198, allocations: 375.4 kB / 484.8 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3199, allocations: 35.97 kB / 484.8 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.3199, allocations: 45.62 kB / 484.8 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.3204, allocations: 0.7455 MB / 485.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3204, allocations: 2.25 kB / 485.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.3205, allocations: 19.38 kB / 485.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3205, allocations: 10.78 kB / 485.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.3207, allocations: 216.9 kB / 485.8 MB, free: 14.71 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.001247/0.322, allocations: 1.559 MB / 487.4 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.3222, allocations: 161.3 kB / 487.5 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.285e-05/0.3223, allocations: 105.8 kB / 487.7 MB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.3225, allocations: 90.53 kB / 487.7 MB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.3225, allocations: 45.61 kB / 487.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.3225, allocations: 0 / 487.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005933/0.3231, allocations: 333.8 kB / 488.1 MB, free: 13.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.3231, allocations: 134.4 kB / 488.2 MB, free: 13.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.3233, allocations: 359.8 kB / 488.6 MB, free: 13.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3233, allocations: 29.02 kB / 488.6 MB, free: 13.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.3234, allocations: 240.6 kB / 488.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.3235, allocations: 121.7 kB / 489 MB, free: 12.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3236, allocations: 99.88 kB / 489.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.069e-05/0.3236, allocations: 358.5 kB / 489.4 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.3237, allocations: 43.08 kB / 489.5 MB, free: 12.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.3238, allocations: 261 kB / 489.7 MB, free: 12.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.324, allocations: 256.8 kB / 490 MB, free: 12.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.324, allocations: 0 / 490 MB, free: 12.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002893/0.3243, allocations: 268.8 kB / 490.2 MB, free: 12.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3243, allocations: 14.41 kB / 490.2 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3243, allocations: 2.438 kB / 490.2 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/0.3249, allocations: 190.1 kB / 490.4 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.3251, allocations: 93.89 kB / 490.5 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001816/0.3253, allocations: 0.5494 MB / 491.1 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.3254, allocations: 39.97 kB / 491.1 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/0.3254, allocations: 40.55 kB / 491.2 MB, free: 11.64 MB / 410.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.0001121/0.3255, allocations: 147.3 kB / 491.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.3256, allocations: 38.5 kB / 491.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000807/0.3264, allocations: 0.8676 MB / 492.2 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3264, allocations: 4.938 kB / 492.2 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.3264, allocations: 0 / 492.2 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3264, allocations: 4 kB / 492.2 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.327, allocations: 0.5584 MB / 492.8 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.327, allocations: 2.344 kB / 492.8 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.399e-05/0.3271, allocations: 51.52 kB / 492.8 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009506/0.328, allocations: 318.6 kB / 493.1 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.328, allocations: 6 kB / 493.1 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001477/0.3282, allocations: 0.5621 MB / 493.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3282, allocations: 2.219 kB / 493.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.3284, allocations: 319.5 kB / 494 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.3284, allocations: 49.34 kB / 494.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.3285, allocations: 11.42 kB / 494.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3286, allocations: 17.8 kB / 494.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.3287, allocations: 28.92 kB / 494.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3287, allocations: 9.688 kB / 494.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.3288, allocations: 163.4 kB / 494.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3288, allocations: 0 / 494.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006735/0.3295, allocations: 341.5 kB / 494.6 MB, free: 10.23 MB / 410.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.0006886/0.3302, allocations: 417.4 kB / 495 MB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003458/0.3305, allocations: 209.5 kB / 495.2 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.3305, allocations: 3.188 kB / 495.2 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.542e-05/0.3306, allocations: 96.22 kB / 495.3 MB, free: 10.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.3313, allocations: 302.7 kB / 495.6 MB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.3324, allocations: 0.8237 MB / 496.5 MB, free: 9.543 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.384e-05/0.3325, allocations: 131.6 kB / 496.6 MB, free: 9.457 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005597/0.333, allocations: 473.5 kB / 497 MB, free: 9.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.3335, allocations: 311.6 kB / 497.3 MB, free: 9.32 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.3335, allocations: 0 / 497.3 MB, free: 9.32 MB / 410.7 MB Notification: Performance of Templates: time 0.01979/0.3533, allocations: 17.88 MB / 0.5031 GB, free: 14.01 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.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: 3.6609015273861587]