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.001404/0.001404, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001496/0.001496, allocations: 161 kB / 24.56 MB, free: 12 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.9565/0.9565, allocations: 177.2 MB / 205 MB, free: 5.621 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.2503/0.2503, allocations: 32.81 MB / 294.3 MB, free: 1.281 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 9.42e-07/9.42e-07, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.688e-05, allocations: 6.25 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2682/0.2682, allocations: 148.6 MB / 0.5123 GB, free: 17.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.2709, allocations: 2.036 MB / 0.5143 GB, free: 16.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/0.2712, allocations: 20.62 kB / 0.5143 GB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000438/0.2716, allocations: 161.2 kB / 0.5145 GB, free: 16.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.2734, allocations: 1.019 MB / 0.5155 GB, free: 15.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.2742, allocations: 0.5299 MB / 0.516 GB, free: 15.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.2753, allocations: 1.484 MB / 0.5175 GB, free: 14.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.2757, allocations: 361 kB / 0.5178 GB, free: 14.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006951/0.2764, allocations: 0.7395 MB / 0.5185 GB, free: 14.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.2768, allocations: 407 kB / 0.5189 GB, free: 13.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.076e-05/0.2769, allocations: 48.81 kB / 0.519 GB, free: 13.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007696/0.2777, allocations: 0.5984 MB / 0.5195 GB, free: 13.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2778, allocations: 158.6 kB / 0.5197 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.278, allocations: 242 kB / 0.5199 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009039/0.2789, allocations: 0.9716 MB / 0.5209 GB, free: 13.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2789, allocations: 0 / 0.5209 GB, free: 13.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2789, allocations: 0 / 0.5209 GB, free: 13.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.2789, allocations: 0 / 0.5209 GB, free: 13.2 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.001038/0.2799, allocations: 1.012 MB / 0.5219 GB, free: 12.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2799, allocations: 11.06 kB / 0.5219 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005508/0.2805, allocations: 216.5 kB / 0.5221 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.2809, allocations: 412.7 kB / 0.5225 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2809, allocations: 30.84 kB / 0.5225 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.2809, allocations: 51.31 kB / 0.5225 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.2815, allocations: 0.7734 MB / 0.5233 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2815, allocations: 2.656 kB / 0.5233 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.2815, allocations: 18.34 kB / 0.5233 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2815, allocations: 8.094 kB / 0.5233 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.2819, allocations: 241.3 kB / 0.5236 GB, free: 11.4 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.00134/0.2832, allocations: 2.222 MB / 0.5257 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.2835, allocations: 172.5 kB / 0.5259 GB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.752e-05/0.2836, allocations: 77.58 kB / 0.526 GB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.2837, allocations: 45.27 kB / 0.526 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.2837, allocations: 39.95 kB / 0.5261 GB, free: 9.484 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.2837, allocations: 3.938 kB / 0.5261 GB, free: 9.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001013/0.2847, allocations: 470.9 kB / 0.5265 GB, free: 9.348 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.2848, allocations: 131.2 kB / 0.5266 GB, free: 9.191 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.285, allocations: 415 kB / 0.527 GB, free: 8.945 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.285, allocations: 33.64 kB / 0.5271 GB, free: 8.906 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.734e-05/0.2851, allocations: 335.8 kB / 0.5274 GB, free: 8.625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.2852, allocations: 108.5 kB / 0.5275 GB, free: 8.539 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.2853, allocations: 116.5 kB / 0.5276 GB, free: 8.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.281e-05/0.2853, allocations: 0.5219 MB / 0.5281 GB, free: 7.969 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.2854, allocations: 71.42 kB / 0.5282 GB, free: 7.961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.2856, allocations: 323.6 kB / 0.5285 GB, free: 7.637 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.2859, allocations: 313.9 kB / 0.5288 GB, free: 7.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2859, allocations: 2.625 kB / 0.5288 GB, free: 7.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004764/0.2864, allocations: 402.1 kB / 0.5292 GB, free: 7.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2864, allocations: 6.344 kB / 0.5292 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2864, allocations: 9.75 kB / 0.5292 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008168/0.2872, allocations: 210.7 kB / 0.5294 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.2874, allocations: 103.4 kB / 0.5295 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003683/0.2878, allocations: 0.8376 MB / 0.5303 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.288, allocations: 37.84 kB / 0.5303 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.288, allocations: 48.52 kB / 0.5304 GB, free: 6.367 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.0001129/0.2881, allocations: 182.1 kB / 0.5306 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.2882, allocations: 56.22 kB / 0.5306 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008845/0.2891, allocations: 0.9149 MB / 0.5315 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.2891, allocations: 2.812 kB / 0.5315 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2891, allocations: 0 / 0.5315 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2891, allocations: 5.969 kB / 0.5315 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007285/0.2898, allocations: 0.8074 MB / 0.5323 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2898, allocations: 0 / 0.5323 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.2899, allocations: 51.98 kB / 0.5323 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006076/0.2906, allocations: 194.2 kB / 0.5325 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.2906, allocations: 18.75 kB / 0.5325 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003286/0.2909, allocations: 0.8418 MB / 0.5334 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2909, allocations: 0 / 0.5334 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.2913, allocations: 468.7 kB / 0.5338 GB, free: 4.125 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.2913, allocations: 40.58 kB / 0.5339 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.2914, allocations: 12.72 kB / 0.5339 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.2915, allocations: 16.12 kB / 0.5339 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.2916, allocations: 33.92 kB / 0.5339 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.2916, allocations: 25.16 kB / 0.5339 GB, free: 4.066 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001758/0.2918, allocations: 297 kB / 0.5342 GB, free: 3.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2918, allocations: 0 / 0.5342 GB, free: 3.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004439/0.2922, allocations: 227.1 kB / 0.5344 GB, free: 3.863 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.0003472/0.2925, allocations: 277.3 kB / 0.5347 GB, free: 3.723 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005445/0.2931, allocations: 239.5 kB / 0.5349 GB, free: 3.672 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2931, allocations: 4.375 kB / 0.5349 GB, free: 3.672 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.2933, allocations: 115.7 kB / 0.535 GB, free: 3.633 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.294, allocations: 288.2 kB / 0.5353 GB, free: 3.582 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.2952, allocations: 0.8372 MB / 0.5361 GB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.91e-05/0.2953, allocations: 121.8 kB / 0.5363 GB, free: 2.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005095/0.2958, allocations: 475.5 kB / 0.5367 GB, free: 2.906 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.2959, allocations: 86.31 kB / 0.5368 GB, free: 2.887 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2959, allocations: 0 / 0.5368 GB, free: 2.887 MB / 410.7 MB Notification: Performance of Templates: time 0.01415/0.3101, allocations: 14.05 MB / 0.5505 GB, free: 9.965 MB / 426.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 -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.6561970626935363]