Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.00106/0.00106, allocations: 80.8 kB / 21.5 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.0009406/0.0009406, allocations: 169 kB / 24.91 MB, free: 8.77 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.9471/0.9471, 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.2672/0.2672, allocations: 32.81 MB / 294.6 MB, free: 1.258 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.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.595e-05, allocations: 4.141 kB / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2933/0.2933, allocations: 148 MB / 471.3 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002845/0.2961, allocations: 2.06 MB / 473.3 MB, free: 16.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.2964, allocations: 22.75 kB / 473.3 MB, free: 16.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.2968, allocations: 159.8 kB / 473.5 MB, free: 16.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.2985, allocations: 0.9901 MB / 474.5 MB, free: 16.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.2992, allocations: 0.5333 MB / 475 MB, free: 16.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.3003, allocations: 1.476 MB / 476.5 MB, free: 16.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.3007, allocations: 365.5 kB / 476.9 MB, free: 16.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006427/0.3013, allocations: 0.7366 MB / 477.6 MB, free: 16.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.3017, allocations: 390.8 kB / 478 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/0.3017, allocations: 49 kB / 478 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007653/0.3025, allocations: 0.6412 MB / 478.7 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.3026, allocations: 157.9 kB / 478.8 MB, free: 16.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.3028, allocations: 235.6 kB / 479 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008899/0.3036, allocations: 0.975 MB / 480 MB, free: 16.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3037, allocations: 3.938 kB / 480 MB, free: 16.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3037, allocations: 4 kB / 480 MB, free: 16.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.3037, allocations: 0 / 480 MB, free: 16.16 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009322/0.3046, allocations: 0.866 MB / 480.9 MB, free: 15.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.3046, allocations: 10.86 kB / 480.9 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006025/0.3052, allocations: 218.6 kB / 481.1 MB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.3056, allocations: 365.7 kB / 481.5 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3056, allocations: 32.88 kB / 481.5 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.3057, allocations: 48.72 kB / 481.6 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.3061, allocations: 0.7244 MB / 482.3 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3061, allocations: 2.906 kB / 482.3 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.3062, allocations: 19.12 kB / 482.3 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3062, allocations: 8.938 kB / 482.3 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.3064, allocations: 185.9 kB / 482.5 MB, free: 14.9 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.001095/0.3075, allocations: 1.517 MB / 484 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3077, allocations: 132.6 kB / 484.1 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.696e-05/0.3078, allocations: 58.09 kB / 484.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.3079, allocations: 90.27 kB / 484.3 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.308, allocations: 37.34 kB / 484.3 MB, free: 13.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.453e-06/0.308, allocations: 0 / 484.3 MB, free: 13.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008643/0.3088, allocations: 367.9 kB / 484.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.3088, allocations: 133.4 kB / 484.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.309, allocations: 345.3 kB / 485.1 MB, free: 13.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.309, allocations: 31.8 kB / 485.2 MB, free: 13.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.3091, allocations: 244.1 kB / 485.4 MB, free: 13.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.3092, allocations: 107.8 kB / 485.5 MB, free: 13.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/0.3093, allocations: 95.81 kB / 485.6 MB, free: 13.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.45e-05/0.3093, allocations: 352.8 kB / 486 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.402e-05/0.3094, allocations: 46.81 kB / 486 MB, free: 12.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3095, allocations: 264.6 kB / 486.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.3097, allocations: 241 kB / 486.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3097, allocations: 3 kB / 486.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003121/0.31, allocations: 267.3 kB / 486.8 MB, free: 12.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.31, allocations: 5.656 kB / 486.8 MB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.31, allocations: 2.312 kB / 486.8 MB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007273/0.3108, allocations: 205.5 kB / 487 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.311, allocations: 111.2 kB / 487.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003064/0.3113, allocations: 0.553 MB / 487.6 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.3114, allocations: 32.14 kB / 487.7 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.3115, allocations: 45.61 kB / 487.7 MB, free: 11.89 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.3116, allocations: 136.3 kB / 487.8 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.3116, allocations: 37.52 kB / 487.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000831/0.3125, allocations: 0.8244 MB / 488.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.3125, allocations: 4.781 kB / 488.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.3125, allocations: 0 / 488.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3125, allocations: 2.766 kB / 488.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.3131, allocations: 0.5481 MB / 489.3 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3131, allocations: 3 kB / 489.3 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.3132, allocations: 49.86 kB / 489.3 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005817/0.3138, allocations: 189.5 kB / 489.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.3138, allocations: 15.16 kB / 489.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002792/0.3141, allocations: 0.5512 MB / 490.1 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3141, allocations: 3.938 kB / 490.1 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.3143, allocations: 308.4 kB / 490.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.3143, allocations: 40.12 kB / 490.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.3144, allocations: 20.86 kB / 490.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3145, allocations: 15.94 kB / 490.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.3146, allocations: 23.55 kB / 490.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.3146, allocations: 16.14 kB / 490.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001051/0.3147, allocations: 157.5 kB / 490.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3147, allocations: 0 / 490.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003778/0.3151, allocations: 226.1 kB / 490.9 MB, free: 10.55 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 (24): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.0003398/0.3154, allocations: 266.1 kB / 491.1 MB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004235/0.3159, allocations: 196.4 kB / 491.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.3159, allocations: 5.344 kB / 491.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.3161, allocations: 93.61 kB / 491.4 MB, free: 10.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.3167, allocations: 286.9 kB / 491.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.3178, allocations: 0.8317 MB / 492.5 MB, free: 9.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.742e-05/0.3179, allocations: 119.7 kB / 492.6 MB, free: 9.855 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004726/0.3183, allocations: 472.7 kB / 493.1 MB, free: 9.781 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/0.3188, allocations: 287.5 kB / 493.4 MB, free: 9.723 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3188, allocations: 2.781 kB / 493.4 MB, free: 9.723 MB / 410.7 MB Notification: Performance of Templates: time 0.01352/0.3323, allocations: 13.95 MB / 0.4954 GB, free: 3.578 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.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.561381606850773]