Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001498/0.001498, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001993/0.001993, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9794/0.9794, allocations: 177.1 MB / 205 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3423/0.3423, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.919e-05, allocations: 6.312 kB / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.306/0.3061, allocations: 148.6 MB / 0.5143 GB, free: 15.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.3092, allocations: 2.028 MB / 0.5163 GB, free: 14.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004548/0.3096, allocations: 19.97 kB / 0.5163 GB, free: 14.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.3101, allocations: 166.5 kB / 0.5165 GB, free: 14.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.3121, allocations: 1.012 MB / 0.5175 GB, free: 13.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000922/0.313, allocations: 0.5378 MB / 0.518 GB, free: 13.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.3144, allocations: 1.48 MB / 0.5194 GB, free: 12.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005359/0.3149, allocations: 369 kB / 0.5198 GB, free: 12.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008906/0.3158, allocations: 0.7213 MB / 0.5205 GB, free: 11.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.3164, allocations: 393.7 kB / 0.5209 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.715e-05/0.3164, allocations: 48.56 kB / 0.5209 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.3175, allocations: 0.6008 MB / 0.5215 GB, free: 11.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.3176, allocations: 162 kB / 0.5216 GB, free: 11.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.3178, allocations: 242.9 kB / 0.5219 GB, free: 11.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.3191, allocations: 0.9783 MB / 0.5228 GB, free: 11.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3191, allocations: 2.875 kB / 0.5228 GB, free: 11.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3191, allocations: 4 kB / 0.5228 GB, free: 11.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.3191, allocations: 0 / 0.5228 GB, free: 11.12 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.001286/0.3204, allocations: 1.012 MB / 0.5238 GB, free: 10.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3204, allocations: 11.56 kB / 0.5238 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006547/0.3211, allocations: 214.6 kB / 0.524 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.3216, allocations: 416 kB / 0.5244 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.3216, allocations: 38.84 kB / 0.5245 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/0.3216, allocations: 44.72 kB / 0.5245 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.3222, allocations: 0.805 MB / 0.5253 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3223, allocations: 6.453 kB / 0.5253 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.3223, allocations: 17.62 kB / 0.5253 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.3223, allocations: 9 kB / 0.5253 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.3227, allocations: 237.2 kB / 0.5256 GB, free: 9.293 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.001549/0.3242, allocations: 2.212 MB / 0.5277 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.3245, allocations: 179.6 kB / 0.5279 GB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3246, allocations: 78.95 kB / 0.528 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.3248, allocations: 53.45 kB / 0.528 GB, free: 7.418 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3248, allocations: 42.55 kB / 0.5281 GB, free: 7.371 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.404e-06/0.3248, allocations: 0 / 0.5281 GB, free: 7.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001167/0.326, allocations: 471.6 kB / 0.5285 GB, free: 7.234 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.326, allocations: 134.3 kB / 0.5286 GB, free: 7.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.3263, allocations: 409.5 kB / 0.529 GB, free: 6.832 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.3263, allocations: 32.67 kB / 0.5291 GB, free: 6.797 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3264, allocations: 330.8 kB / 0.5294 GB, free: 6.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.3265, allocations: 104.9 kB / 0.5295 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3266, allocations: 112.6 kB / 0.5296 GB, free: 6.383 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.3266, allocations: 0.5268 MB / 0.5301 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3268, allocations: 68.5 kB / 0.5302 GB, free: 5.859 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.327, allocations: 325.5 kB / 0.5305 GB, free: 5.535 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.3273, allocations: 319 kB / 0.5308 GB, free: 5.293 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3273, allocations: 2.906 kB / 0.5308 GB, free: 5.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005136/0.3278, allocations: 403.7 kB / 0.5312 GB, free: 5.145 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3278, allocations: 5.969 kB / 0.5312 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3278, allocations: 6.938 kB / 0.5312 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008784/0.3287, allocations: 214.2 kB / 0.5314 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.3289, allocations: 112.2 kB / 0.5315 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003931/0.3293, allocations: 0.831 MB / 0.5323 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.3295, allocations: 37.06 kB / 0.5323 GB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.3295, allocations: 52.23 kB / 0.5324 GB, free: 4.262 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.0001222/0.3297, allocations: 185.1 kB / 0.5326 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.903e-05/0.3297, allocations: 56.5 kB / 0.5326 GB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009436/0.3307, allocations: 0.9115 MB / 0.5335 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3307, allocations: 3.125 kB / 0.5335 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3307, allocations: 0 / 0.5335 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3307, allocations: 5.656 kB / 0.5335 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008016/0.3315, allocations: 0.8066 MB / 0.5343 GB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3315, allocations: 2.938 kB / 0.5343 GB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.3316, allocations: 48 kB / 0.5343 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006477/0.3323, allocations: 205.7 kB / 0.5345 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.3323, allocations: 14.41 kB / 0.5346 GB, free: 3.176 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003411/0.3326, allocations: 0.8542 MB / 0.5354 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3326, allocations: 0 / 0.5354 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.333, allocations: 461.6 kB / 0.5358 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.3331, allocations: 45.44 kB / 0.5359 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.3331, allocations: 12.42 kB / 0.5359 GB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.3333, allocations: 12.11 kB / 0.5359 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.3333, allocations: 27.17 kB / 0.5359 GB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.3333, allocations: 23.84 kB / 0.5359 GB, free: 1.961 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001764/0.3335, allocations: 295.6 kB / 0.5362 GB, free: 1.805 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3335, allocations: 0 / 0.5362 GB, free: 1.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005759/0.3341, allocations: 229.1 kB / 0.5364 GB, free: 1.754 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.0003962/0.3345, allocations: 266.5 kB / 0.5367 GB, free: 1.621 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005788/0.3351, allocations: 246.1 kB / 0.5369 GB, free: 1.566 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3351, allocations: 7.188 kB / 0.5369 GB, free: 1.562 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.3353, allocations: 110.9 kB / 0.537 GB, free: 1.527 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007408/0.3361, allocations: 296.1 kB / 0.5373 GB, free: 1.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.3374, allocations: 0.8329 MB / 0.5381 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.366e-05/0.3375, allocations: 121.9 kB / 0.5383 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005785/0.338, allocations: 491.2 kB / 0.5387 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.3382, allocations: 82.02 kB / 0.5388 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3382, allocations: 4 kB / 0.5388 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of Templates: time 0.01427/0.3525, allocations: 12.54 MB / 0.5511 GB, free: 8.188 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9797160499729216]