Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.0009165/0.0009165, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.0009422/0.0009422, 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.9295/0.9295, allocations: 177.1 MB / 205 MB, free: 5.246 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.2624/0.2624, allocations: 34.26 MB / 295.7 MB, free: 0.707 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.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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.808e-05, allocations: 2.312 kB / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3276/0.3277, allocations: 148.8 MB / 0.5145 GB, free: 15.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003621/0.3313, allocations: 3.043 MB / 0.5175 GB, free: 13.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003241/0.3316, allocations: 23.41 kB / 0.5175 GB, free: 13.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.3321, allocations: 184.7 kB / 0.5177 GB, free: 13.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.3342, allocations: 1.227 MB / 0.5189 GB, free: 12.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008969/0.3351, allocations: 0.593 MB / 0.5195 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.3363, allocations: 1.564 MB / 0.521 GB, free: 11.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.3367, allocations: 374 kB / 0.5214 GB, free: 11.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006848/0.3374, allocations: 0.7504 MB / 0.5221 GB, free: 11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004144/0.3378, allocations: 414.7 kB / 0.5225 GB, free: 10.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.754e-05/0.3379, allocations: 51.66 kB / 0.5225 GB, free: 10.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.339, allocations: 0.8164 MB / 0.5233 GB, free: 10.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.3391, allocations: 172.3 kB / 0.5235 GB, free: 10.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.3393, allocations: 250.8 kB / 0.5237 GB, free: 10.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.3407, allocations: 1.213 MB / 0.5249 GB, free: 10.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3407, allocations: 0 / 0.5249 GB, free: 10.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3407, allocations: 0 / 0.5249 GB, free: 10.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.3407, allocations: 0 / 0.5249 GB, free: 10.01 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.001354/0.342, allocations: 1.086 MB / 0.526 GB, free: 9.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3421, allocations: 8.656 kB / 0.526 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005946/0.3427, allocations: 229.8 kB / 0.5262 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.3431, allocations: 451.3 kB / 0.5266 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.3432, allocations: 34.34 kB / 0.5267 GB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.3432, allocations: 47.09 kB / 0.5267 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/0.3439, allocations: 0.8237 MB / 0.5275 GB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3439, allocations: 7.938 kB / 0.5275 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.3439, allocations: 18 kB / 0.5276 GB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.3439, allocations: 11.44 kB / 0.5276 GB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.3443, allocations: 275.2 kB / 0.5278 GB, free: 8.102 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.001556/0.3459, allocations: 2.282 MB / 0.5301 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.3463, allocations: 213.8 kB / 0.5303 GB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.3464, allocations: 86.11 kB / 0.5303 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.3465, allocations: 46.84 kB / 0.5304 GB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.3465, allocations: 45.17 kB / 0.5304 GB, free: 6.141 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.3465, allocations: 0 / 0.5304 GB, free: 6.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008201/0.3474, allocations: 486.1 kB / 0.5309 GB, free: 5.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.3474, allocations: 131 kB / 0.531 GB, free: 5.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.3477, allocations: 449.7 kB / 0.5314 GB, free: 5.574 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3477, allocations: 32.11 kB / 0.5315 GB, free: 5.539 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3478, allocations: 343 kB / 0.5318 GB, free: 5.254 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.3479, allocations: 130.8 kB / 0.5319 GB, free: 5.148 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.348, allocations: 112.3 kB / 0.532 GB, free: 5.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.242e-05/0.3481, allocations: 0.5281 MB / 0.5325 GB, free: 4.578 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.3482, allocations: 69.97 kB / 0.5326 GB, free: 4.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.3484, allocations: 334.3 kB / 0.5329 GB, free: 4.234 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.3486, allocations: 319 kB / 0.5332 GB, free: 3.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.3487, allocations: 5.312 kB / 0.5332 GB, free: 3.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004598/0.3491, allocations: 410.3 kB / 0.5336 GB, free: 3.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3491, allocations: 9.625 kB / 0.5336 GB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3491, allocations: 2.688 kB / 0.5336 GB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006915/0.3498, allocations: 203.6 kB / 0.5338 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.35, allocations: 100.8 kB / 0.5339 GB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002547/0.3503, allocations: 0.8396 MB / 0.5348 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.3504, allocations: 31.41 kB / 0.5348 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.3505, allocations: 48.11 kB / 0.5348 GB, free: 2.953 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.0001202/0.3506, allocations: 183.6 kB / 0.535 GB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.3507, allocations: 62.73 kB / 0.5351 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.3517, allocations: 0.9695 MB / 0.536 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3517, allocations: 6.312 kB / 0.536 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3517, allocations: 1.922 kB / 0.536 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3517, allocations: 0 / 0.536 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007924/0.3525, allocations: 0.8566 MB / 0.5369 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3525, allocations: 3.031 kB / 0.5369 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.3526, allocations: 48.7 kB / 0.5369 GB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.3538, allocations: 347.5 kB / 0.5372 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.3538, allocations: 13.38 kB / 0.5373 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002225/0.354, allocations: 0.8383 MB / 0.5381 GB, free: 1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.354, allocations: 2.562 kB / 0.5381 GB, free: 1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.3544, allocations: 474.9 kB / 0.5385 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.3544, allocations: 46.25 kB / 0.5386 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.3545, allocations: 17.11 kB / 0.5386 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3546, allocations: 18.81 kB / 0.5386 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.3547, allocations: 28.19 kB / 0.5386 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.3547, allocations: 22.36 kB / 0.5387 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002259/0.3549, allocations: 323.3 kB / 0.539 GB, free: 436 kB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3549, allocations: 0 / 0.539 GB, free: 436 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005938/0.3555, allocations: 281.4 kB / 0.5392 GB, free: 372 kB / 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.0004971/0.356, allocations: 355.3 kB / 0.5396 GB, free: 200 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004217/0.3564, allocations: 251.8 kB / 0.5398 GB, free: 136 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3564, allocations: 2.406 kB / 0.5398 GB, free: 136 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.3566, allocations: 116.1 kB / 0.5399 GB, free: 96 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.3574, allocations: 307.2 kB / 0.5402 GB, free: 24 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.3586, allocations: 0.8417 MB / 0.541 GB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.381e-05/0.3587, allocations: 125.5 kB / 0.5412 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005843/0.3593, allocations: 499.3 kB / 0.5416 GB, free: 15.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.3595, allocations: 80.89 kB / 0.5417 GB, free: 15.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3595, allocations: 6.906 kB / 0.5417 GB, free: 15.29 MB / 426.7 MB Notification: Performance of Templates: time 0.0157/0.3752, allocations: 14.14 MB / 0.5555 GB, free: 3.648 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.7788431718945503]