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.001016/0.001016, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001016/0.001016, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.984/0.984, allocations: 177 MB / 204.8 MB, free: 5.562 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.2627/0.2627, allocations: 34.87 MB / 296.3 MB, free: 0.5508 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 1.483e-06/1.483e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.54e-05, allocations: 2.875 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3103/0.3103, allocations: 148.8 MB / 0.5152 GB, free: 14.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00446/0.3148, allocations: 3.048 MB / 0.5182 GB, free: 12.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007028/0.3155, allocations: 27.16 kB / 0.5183 GB, free: 12.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006011/0.3161, allocations: 186.5 kB / 0.5184 GB, free: 12.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.3192, allocations: 1.218 MB / 0.5196 GB, free: 11.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.3206, allocations: 0.5868 MB / 0.5202 GB, free: 11.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.3226, allocations: 1.566 MB / 0.5217 GB, free: 10.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000683/0.3232, allocations: 374.5 kB / 0.5221 GB, free: 10.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.3245, allocations: 0.7445 MB / 0.5228 GB, free: 10.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006852/0.3251, allocations: 428.6 kB / 0.5232 GB, free: 10.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.3253, allocations: 51.28 kB / 0.5233 GB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.3271, allocations: 0.8068 MB / 0.5241 GB, free: 10.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.3273, allocations: 171.9 kB / 0.5242 GB, free: 9.953 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.3276, allocations: 257.5 kB / 0.5245 GB, free: 9.859 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.3296, allocations: 1.206 MB / 0.5256 GB, free: 9.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3296, allocations: 2.656 kB / 0.5256 GB, free: 9.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3296, allocations: 0 / 0.5256 GB, free: 9.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.3296, allocations: 0 / 0.5256 GB, free: 9.41 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.00162/0.3313, allocations: 1.082 MB / 0.5267 GB, free: 8.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3313, allocations: 11.53 kB / 0.5267 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007145/0.332, allocations: 227.6 kB / 0.5269 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006075/0.3326, allocations: 446.9 kB / 0.5274 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.3326, allocations: 34 kB / 0.5274 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.3327, allocations: 43.41 kB / 0.5274 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007406/0.3334, allocations: 0.8335 MB / 0.5282 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3335, allocations: 6.688 kB / 0.5282 GB, free: 7.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.3335, allocations: 17.41 kB / 0.5283 GB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.3335, allocations: 11.28 kB / 0.5283 GB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.334, allocations: 281.5 kB / 0.5285 GB, free: 7.504 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.001805/0.3358, allocations: 2.285 MB / 0.5308 GB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.3361, allocations: 207.1 kB / 0.531 GB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3363, allocations: 91.92 kB / 0.5311 GB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.3364, allocations: 49.89 kB / 0.5311 GB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3365, allocations: 47.23 kB / 0.5312 GB, free: 5.535 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.185e-06/0.3365, allocations: 0 / 0.5312 GB, free: 5.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009129/0.3374, allocations: 476.5 kB / 0.5316 GB, free: 5.383 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.3374, allocations: 133.8 kB / 0.5317 GB, free: 5.227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.3377, allocations: 455.2 kB / 0.5322 GB, free: 4.973 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.3377, allocations: 29.7 kB / 0.5322 GB, free: 4.938 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3378, allocations: 341 kB / 0.5325 GB, free: 4.656 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.3379, allocations: 127.9 kB / 0.5326 GB, free: 4.551 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.338, allocations: 115.5 kB / 0.5328 GB, free: 4.492 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.3381, allocations: 0.5254 MB / 0.5333 GB, free: 3.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.3382, allocations: 72.2 kB / 0.5333 GB, free: 3.973 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.3384, allocations: 327.7 kB / 0.5336 GB, free: 3.641 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.3387, allocations: 322 kB / 0.534 GB, free: 3.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3387, allocations: 0 / 0.534 GB, free: 3.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005022/0.3392, allocations: 414 kB / 0.5344 GB, free: 3.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3392, allocations: 9.812 kB / 0.5344 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3392, allocations: 2.781 kB / 0.5344 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007127/0.34, allocations: 200.2 kB / 0.5346 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.3402, allocations: 106.5 kB / 0.5347 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002712/0.3404, allocations: 0.8228 MB / 0.5355 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.3406, allocations: 37.02 kB / 0.5355 GB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.3407, allocations: 46.69 kB / 0.5355 GB, free: 2.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 (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.0001225/0.3408, allocations: 189.4 kB / 0.5357 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.3409, allocations: 62.66 kB / 0.5358 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.342, allocations: 0.9715 MB / 0.5367 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.342, allocations: 2.688 kB / 0.5367 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.342, allocations: 0 / 0.5367 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.342, allocations: 2.156 kB / 0.5367 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008819/0.3428, allocations: 0.8585 MB / 0.5376 GB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3429, allocations: 3.938 kB / 0.5376 GB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.343, allocations: 55.61 kB / 0.5376 GB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.3442, allocations: 343 kB / 0.538 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.3443, allocations: 13.72 kB / 0.538 GB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002326/0.3445, allocations: 0.8398 MB / 0.5388 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3445, allocations: 5.5 kB / 0.5388 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.3449, allocations: 472 kB / 0.5392 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.3449, allocations: 47.59 kB / 0.5393 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.345, allocations: 14.89 kB / 0.5393 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.3451, allocations: 21.12 kB / 0.5393 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.3452, allocations: 30.95 kB / 0.5394 GB, free: 0 / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.3452, allocations: 21.47 kB / 0.5394 GB, free: 15.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002509/0.3455, allocations: 319.8 kB / 0.5397 GB, free: 15.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3455, allocations: 3 kB / 0.5397 GB, free: 15.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007318/0.3462, allocations: 280.9 kB / 0.5399 GB, free: 15.76 MB / 426.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.0005962/0.3468, allocations: 351.6 kB / 0.5403 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004823/0.3473, allocations: 250.7 kB / 0.5405 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.3473, allocations: 0 / 0.5405 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.3475, allocations: 124.4 kB / 0.5406 GB, free: 15.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.3483, allocations: 303.2 kB / 0.5409 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.3497, allocations: 0.8406 MB / 0.5418 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3498, allocations: 128 kB / 0.5419 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007286/0.3506, allocations: 487 kB / 0.5423 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.3507, allocations: 80.58 kB / 0.5424 GB, free: 14.69 MB / 426.7 MB Notification: Performance of SimCode: time 9.01e-07/0.3507, allocations: 0 / 0.5424 GB, free: 14.69 MB / 426.7 MB Notification: Performance of Templates: time 0.01798/0.3687, allocations: 14.15 MB / 0.5562 GB, free: 2.734 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: 4.003457812592387]