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.001448/0.001448, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001607/0.001607, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.536/1.536, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.387/0.387, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.014e-06/2.014e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.178e-05, allocations: 7.438 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4301/0.4302, allocations: 161.6 MB / 0.5262 GB, free: 4.453 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004524/0.4347, allocations: 3.029 MB / 0.5292 GB, free: 2.434 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005476/0.4352, allocations: 26.25 kB / 0.5292 GB, free: 2.418 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007877/0.436, allocations: 309.8 kB / 0.5295 GB, free: 2.242 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.4391, allocations: 1.475 MB / 0.5309 GB, free: 1.457 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.4407, allocations: 0.7436 MB / 0.5317 GB, free: 1.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.4422, allocations: 1.586 MB / 0.5332 GB, free: 308 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004524/0.4426, allocations: 376.3 kB / 0.5336 GB, free: 76 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.4437, allocations: 0.8037 MB / 0.5344 GB, free: 15.74 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005252/0.4442, allocations: 421.8 kB / 0.5348 GB, free: 15.6 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.164e-05/0.4443, allocations: 50.03 kB / 0.5348 GB, free: 15.6 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.4461, allocations: 0.9112 MB / 0.5357 GB, free: 15.35 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.4463, allocations: 168.6 kB / 0.5359 GB, free: 15.25 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002996/0.4466, allocations: 250.8 kB / 0.5361 GB, free: 15.16 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.4487, allocations: 1.55 MB / 0.5376 GB, free: 14.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4487, allocations: 10.95 kB / 0.5376 GB, free: 14.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4487, allocations: 0 / 0.5376 GB, free: 14.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.4487, allocations: 0 / 0.5376 GB, free: 14.53 MB / 426.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.00196/0.4506, allocations: 0.9973 MB / 0.5386 GB, free: 13.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4507, allocations: 8.25 kB / 0.5386 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.4518, allocations: 221.5 kB / 0.5388 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008363/0.4526, allocations: 456.9 kB / 0.5393 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.4527, allocations: 35.94 kB / 0.5393 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.4527, allocations: 45.06 kB / 0.5393 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.4541, allocations: 0.8958 MB / 0.5402 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.4541, allocations: 7.922 kB / 0.5402 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.701e-05/0.4542, allocations: 19.97 kB / 0.5402 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.4542, allocations: 10.41 kB / 0.5402 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009415/0.4551, allocations: 479.8 kB / 0.5407 GB, free: 12.28 MB / 426.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.002915/0.458, allocations: 1.907 MB / 0.5426 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007581/0.4588, allocations: 329.6 kB / 0.5429 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.4591, allocations: 157.8 kB / 0.543 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.4593, allocations: 50.73 kB / 0.5431 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.4594, allocations: 40.19 kB / 0.5431 GB, free: 10.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.4594, allocations: 0 / 0.5431 GB, free: 10.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001817/0.4612, allocations: 0.6853 MB / 0.5438 GB, free: 10.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4613, allocations: 133.7 kB / 0.5439 GB, free: 9.918 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.4618, allocations: 429.5 kB / 0.5443 GB, free: 9.652 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.4619, allocations: 32.55 kB / 0.5444 GB, free: 9.617 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.4621, allocations: 291.8 kB / 0.5446 GB, free: 9.359 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.4623, allocations: 124.4 kB / 0.5447 GB, free: 9.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.4624, allocations: 104.9 kB / 0.5448 GB, free: 9.191 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.4627, allocations: 361.1 kB / 0.5452 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.463, allocations: 148.9 kB / 0.5453 GB, free: 8.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/0.4635, allocations: 360.2 kB / 0.5457 GB, free: 8.441 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007884/0.4643, allocations: 437.4 kB / 0.5461 GB, free: 8.148 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4643, allocations: 2.906 kB / 0.5461 GB, free: 8.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0011/0.4654, allocations: 0.5598 MB / 0.5466 GB, free: 7.859 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4654, allocations: 5.344 kB / 0.5466 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4654, allocations: 5.094 kB / 0.5467 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.467, allocations: 248.3 kB / 0.5469 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.4674, allocations: 108 kB / 0.547 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005925/0.4679, allocations: 0.6044 MB / 0.5476 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.4683, allocations: 33.19 kB / 0.5476 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.23e-05/0.4684, allocations: 47.98 kB / 0.5477 GB, free: 7.113 MB / 426.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.000273/0.4686, allocations: 183.1 kB / 0.5478 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.4688, allocations: 64.67 kB / 0.5479 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.4708, allocations: 1.092 MB / 0.549 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4708, allocations: 2.5 kB / 0.549 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4708, allocations: 0 / 0.549 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4708, allocations: 3 kB / 0.549 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.4723, allocations: 0.8692 MB / 0.5498 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4723, allocations: 4.031 kB / 0.5498 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.4725, allocations: 55.25 kB / 0.5499 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003505/0.476, allocations: 445.1 kB / 0.5503 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.476, allocations: 12 kB / 0.5503 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006091/0.4766, allocations: 0.6108 MB / 0.5509 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4766, allocations: 6.922 kB / 0.5509 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.4777, allocations: 0.5142 MB / 0.5514 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.4778, allocations: 47.61 kB / 0.5515 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.561e-05/0.4779, allocations: 19.88 kB / 0.5515 GB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.4782, allocations: 15.98 kB / 0.5515 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.4783, allocations: 27.95 kB / 0.5515 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.4783, allocations: 15.98 kB / 0.5515 GB, free: 3.902 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000488/0.4788, allocations: 339.1 kB / 0.5519 GB, free: 3.574 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4788, allocations: 0 / 0.5519 GB, free: 3.574 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009817/0.4798, allocations: 291.2 kB / 0.5521 GB, free: 3.289 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.0008948/0.4807, allocations: 395.4 kB / 0.5525 GB, free: 2.891 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009707/0.4817, allocations: 359.9 kB / 0.5529 GB, free: 2.539 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4817, allocations: 0 / 0.5529 GB, free: 2.539 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.4821, allocations: 160.9 kB / 0.553 GB, free: 2.383 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.4835, allocations: 309.4 kB / 0.5533 GB, free: 2.094 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.4852, allocations: 0.8814 MB / 0.5542 GB, free: 1.172 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.4855, allocations: 255.2 kB / 0.5544 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001146/0.4867, allocations: 0.5431 MB / 0.5549 GB, free: 368 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.4869, allocations: 84.47 kB / 0.555 GB, free: 284 kB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/0.4869, allocations: 4 kB / 0.555 GB, free: 280 kB / 426.7 MB Notification: Performance of Templates: time 0.02803/0.515, allocations: 14.52 MB / 0.5692 GB, free: 1.953 MB / 442.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.096170970937237]