Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.0007801/0.0007801, allocations: 81.91 kB / 21.43 MB, free: 3.07 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.000918/0.000918, allocations: 161 kB / 24.82 MB, free: 9.258 MB / 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 0.9673/0.9673, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.254/0.254, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.Orifices.ThickEdgedOrifice,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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.864e-05, allocations: 3.156 kB / 379.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2805/0.2805, allocations: 146 MB / 0.513 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.2843, allocations: 3.019 MB / 0.5159 GB, free: 14.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005636/0.2848, allocations: 20.75 kB / 0.516 GB, free: 14.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.2853, allocations: 189.6 kB / 0.5161 GB, free: 14.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.2878, allocations: 1.234 MB / 0.5173 GB, free: 13.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.2889, allocations: 0.5935 MB / 0.5179 GB, free: 13.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.2903, allocations: 1.552 MB / 0.5194 GB, free: 12.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004826/0.2908, allocations: 375.7 kB / 0.5198 GB, free: 12.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008242/0.2916, allocations: 0.7763 MB / 0.5206 GB, free: 11.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.2922, allocations: 488.7 kB / 0.521 GB, free: 11.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.229e-05/0.2923, allocations: 50.72 kB / 0.5211 GB, free: 11.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.2936, allocations: 0.8097 MB / 0.5219 GB, free: 11.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.2937, allocations: 166.5 kB / 0.522 GB, free: 11.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.2939, allocations: 254.9 kB / 0.5223 GB, free: 11.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.2951, allocations: 1.209 MB / 0.5234 GB, free: 10.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2951, allocations: 0 / 0.5234 GB, free: 10.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.2951, allocations: 0 / 0.5234 GB, free: 10.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2952, allocations: 0 / 0.5234 GB, free: 10.81 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.001012/0.2962, allocations: 1.075 MB / 0.5245 GB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2962, allocations: 11.56 kB / 0.5245 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005382/0.2967, allocations: 223.5 kB / 0.5247 GB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/0.2973, allocations: 435.3 kB / 0.5251 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.2973, allocations: 37.41 kB / 0.5252 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.2973, allocations: 42.81 kB / 0.5252 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.2978, allocations: 0.7716 MB / 0.526 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2978, allocations: 2.938 kB / 0.526 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.2979, allocations: 17.53 kB / 0.526 GB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2979, allocations: 11.22 kB / 0.526 GB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.2981, allocations: 231.1 kB / 0.5262 GB, free: 8.977 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.001296/0.2994, allocations: 2.202 MB / 0.5284 GB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.2997, allocations: 195 kB / 0.5285 GB, free: 7.148 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.299e-05/0.2998, allocations: 72.34 kB / 0.5286 GB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.2999, allocations: 56.8 kB / 0.5287 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.2999, allocations: 43.83 kB / 0.5287 GB, free: 7.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.913e-06/0.2999, allocations: 0 / 0.5287 GB, free: 7.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006869/0.3006, allocations: 455.4 kB / 0.5291 GB, free: 6.926 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.3006, allocations: 133.9 kB / 0.5293 GB, free: 6.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.3008, allocations: 431.5 kB / 0.5297 GB, free: 6.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.3009, allocations: 32.33 kB / 0.5297 GB, free: 6.484 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.301, allocations: 349.5 kB / 0.5301 GB, free: 6.191 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.301, allocations: 124.2 kB / 0.5302 GB, free: 6.094 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-05/0.3011, allocations: 114 kB / 0.5303 GB, free: 6.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.079e-05/0.3012, allocations: 0.5308 MB / 0.5308 GB, free: 5.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.3013, allocations: 62.2 kB / 0.5309 GB, free: 5.512 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.3014, allocations: 315.3 kB / 0.5312 GB, free: 5.188 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.3016, allocations: 302.8 kB / 0.5314 GB, free: 4.953 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.3016, allocations: 0 / 0.5314 GB, free: 4.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003791/0.302, allocations: 377.3 kB / 0.5318 GB, free: 4.816 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.302, allocations: 12.19 kB / 0.5318 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.302, allocations: 8.438 kB / 0.5318 GB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/0.3026, allocations: 205.6 kB / 0.532 GB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.3028, allocations: 96.8 kB / 0.5321 GB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002022/0.303, allocations: 0.8239 MB / 0.5329 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.3031, allocations: 37.59 kB / 0.533 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.3032, allocations: 44.28 kB / 0.533 GB, free: 3.938 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.0001032/0.3033, allocations: 192.8 kB / 0.5332 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.3033, allocations: 61.83 kB / 0.5332 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008875/0.3042, allocations: 0.9697 MB / 0.5342 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3042, allocations: 2.844 kB / 0.5342 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3042, allocations: 0 / 0.5342 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3042, allocations: 2.578 kB / 0.5342 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.3049, allocations: 0.7464 MB / 0.5349 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3049, allocations: 2.781 kB / 0.5349 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-05/0.305, allocations: 51.81 kB / 0.535 GB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.306, allocations: 321.1 kB / 0.5353 GB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.306, allocations: 12.31 kB / 0.5353 GB, free: 2.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001753/0.3062, allocations: 0.8336 MB / 0.5361 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3062, allocations: 2.656 kB / 0.5361 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.3065, allocations: 455.9 kB / 0.5365 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.3065, allocations: 55.56 kB / 0.5366 GB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.3065, allocations: 15.84 kB / 0.5366 GB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3067, allocations: 16.17 kB / 0.5366 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.3067, allocations: 30.88 kB / 0.5367 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.3067, allocations: 16.52 kB / 0.5367 GB, free: 1.633 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.3068, allocations: 297.9 kB / 0.537 GB, free: 1.473 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3068, allocations: 3.031 kB / 0.537 GB, free: 1.473 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005222/0.3074, allocations: 279.1 kB / 0.5372 GB, free: 1.41 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.0004112/0.3078, allocations: 362.3 kB / 0.5376 GB, free: 1.234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.3081, allocations: 225.6 kB / 0.5378 GB, free: 1.188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3081, allocations: 0 / 0.5378 GB, free: 1.188 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.3082, allocations: 117 kB / 0.5379 GB, free: 1.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006965/0.3089, allocations: 302.2 kB / 0.5382 GB, free: 1.062 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009182/0.3098, allocations: 0.8366 MB / 0.539 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.857e-05/0.3098, allocations: 133.2 kB / 0.5391 GB, free: 448 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004856/0.3103, allocations: 477.1 kB / 0.5396 GB, free: 364 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/0.3108, allocations: 359.2 kB / 0.5399 GB, free: 276 kB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.3108, allocations: 0 / 0.5399 GB, free: 276 kB / 410.7 MB Notification: Performance of Templates: time 0.0176/0.3284, allocations: 15.92 MB / 0.5555 GB, free: 3.215 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.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.6435460639186203]