Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.00119/0.00119, allocations: 77.88 kB / 21.42 MB, free: 3.082 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.001142/0.001142, allocations: 171 kB / 24.82 MB, free: 8.965 MB / 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 1.088/1.088, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.3156/0.3156, allocations: 34.26 MB / 296.1 MB, free: 0.7109 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.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.369/0.369, allocations: 146.1 MB / 0.5123 GB, free: 16.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005399/0.3744, allocations: 3.402 MB / 0.5156 GB, free: 14.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008136/0.3752, allocations: 25.06 kB / 0.5157 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006369/0.3759, allocations: 186.1 kB / 0.5158 GB, free: 14.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004288/0.3802, allocations: 1.557 MB / 0.5174 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.3817, allocations: 0.5724 MB / 0.5179 GB, free: 13.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.3837, allocations: 1.532 MB / 0.5194 GB, free: 12.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006852/0.3844, allocations: 361.6 kB / 0.5198 GB, free: 12.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.3856, allocations: 0.7733 MB / 0.5205 GB, free: 12.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.3867, allocations: 497.1 kB / 0.521 GB, free: 11.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.3868, allocations: 49.38 kB / 0.521 GB, free: 11.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.3891, allocations: 1.104 MB / 0.5221 GB, free: 11.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.3892, allocations: 165.2 kB / 0.5223 GB, free: 11.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.3895, allocations: 252.5 kB / 0.5225 GB, free: 11.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.3916, allocations: 1.441 MB / 0.5239 GB, free: 10.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3916, allocations: 0 / 0.5239 GB, free: 10.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3916, allocations: 2.781 kB / 0.5239 GB, free: 10.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3916, allocations: 0 / 0.5239 GB, free: 10.92 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.001522/0.3931, allocations: 1.114 MB / 0.525 GB, free: 10.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3932, allocations: 8.531 kB / 0.525 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006353/0.3938, allocations: 213.8 kB / 0.5252 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/0.3943, allocations: 426.7 kB / 0.5256 GB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.3943, allocations: 36.84 kB / 0.5257 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.3944, allocations: 53 kB / 0.5257 GB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006855/0.395, allocations: 0.7653 MB / 0.5265 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3951, allocations: 0 / 0.5265 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/0.3951, allocations: 20 kB / 0.5265 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.3951, allocations: 8.406 kB / 0.5265 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.3955, allocations: 228 kB / 0.5267 GB, free: 9.07 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.001435/0.3969, allocations: 2.197 MB / 0.5289 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.3972, allocations: 195.6 kB / 0.529 GB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/0.3973, allocations: 81.48 kB / 0.5291 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.3974, allocations: 54.3 kB / 0.5292 GB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.3974, allocations: 42.25 kB / 0.5292 GB, free: 7.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.3974, allocations: 0 / 0.5292 GB, free: 7.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007689/0.3982, allocations: 447.4 kB / 0.5296 GB, free: 7.027 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.3982, allocations: 133.4 kB / 0.5298 GB, free: 6.871 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.3985, allocations: 423 kB / 0.5302 GB, free: 6.621 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.3985, allocations: 36.48 kB / 0.5302 GB, free: 6.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.3986, allocations: 339.8 kB / 0.5305 GB, free: 6.301 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/0.3987, allocations: 126.7 kB / 0.5306 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3988, allocations: 109.6 kB / 0.5307 GB, free: 6.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.3989, allocations: 0.5282 MB / 0.5313 GB, free: 5.629 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/0.399, allocations: 63.58 kB / 0.5313 GB, free: 5.625 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.3991, allocations: 316.6 kB / 0.5316 GB, free: 5.297 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.3994, allocations: 299.9 kB / 0.5319 GB, free: 5.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3994, allocations: 1.25 kB / 0.5319 GB, free: 5.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004468/0.3999, allocations: 389.3 kB / 0.5323 GB, free: 4.914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3999, allocations: 10.67 kB / 0.5323 GB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3999, allocations: 13.59 kB / 0.5323 GB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006583/0.4005, allocations: 188 kB / 0.5325 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.4007, allocations: 104 kB / 0.5326 GB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002703/0.401, allocations: 0.8242 MB / 0.5334 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.4012, allocations: 44.17 kB / 0.5334 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.4012, allocations: 42.23 kB / 0.5335 GB, free: 4.035 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.0001385/0.4014, allocations: 180.1 kB / 0.5336 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/0.4014, allocations: 58.09 kB / 0.5337 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.4025, allocations: 0.9587 MB / 0.5346 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4025, allocations: 5.5 kB / 0.5346 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4025, allocations: 0 / 0.5346 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4025, allocations: 3.938 kB / 0.5346 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007361/0.4032, allocations: 0.751 MB / 0.5354 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4032, allocations: 0 / 0.5354 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.4034, allocations: 56.77 kB / 0.5354 GB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.4045, allocations: 315.6 kB / 0.5357 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.4045, allocations: 13.34 kB / 0.5357 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002279/0.4048, allocations: 0.8419 MB / 0.5366 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.4048, allocations: 6.281 kB / 0.5366 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.4051, allocations: 454.3 kB / 0.537 GB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.4051, allocations: 47.69 kB / 0.5371 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.4052, allocations: 17.3 kB / 0.5371 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4053, allocations: 15.73 kB / 0.5371 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.4054, allocations: 26.61 kB / 0.5371 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.4054, allocations: 14.08 kB / 0.5371 GB, free: 1.746 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001558/0.4055, allocations: 298.4 kB / 0.5374 GB, free: 1.586 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4055, allocations: 0 / 0.5374 GB, free: 1.586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008196/0.4063, allocations: 335.3 kB / 0.5377 GB, free: 1.504 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.0006216/0.407, allocations: 418.9 kB / 0.5381 GB, free: 1.316 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.4073, allocations: 235.1 kB / 0.5384 GB, free: 1.262 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4073, allocations: 0.875 kB / 0.5384 GB, free: 1.262 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.4074, allocations: 114.9 kB / 0.5385 GB, free: 1.219 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/0.4082, allocations: 312.9 kB / 0.5388 GB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4094, allocations: 0.851 MB / 0.5396 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.591e-05/0.4095, allocations: 127.2 kB / 0.5397 GB, free: 0.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006003/0.4101, allocations: 481.5 kB / 0.5402 GB, free: 396 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005039/0.4106, allocations: 372 kB / 0.5405 GB, free: 224 kB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4106, allocations: 0 / 0.5405 GB, free: 224 kB / 410.7 MB Notification: Performance of Templates: time 0.02101/0.4316, allocations: 18.47 MB / 0.5586 GB, free: 128 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.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.364135980140418]