Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001249/0.001249, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001065/0.001065, 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.9486/0.9486, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 32.81 MB / 294.3 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.176e-06/3.176e-06, allocations: 0 / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.933e-05, allocations: 2.312 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3038/0.3038, allocations: 148.9 MB / 0.5126 GB, free: 17.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0042/0.308, allocations: 3.441 MB / 0.5159 GB, free: 15.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004232/0.3084, allocations: 26.75 kB / 0.516 GB, free: 15.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005608/0.309, allocations: 181.6 kB / 0.5161 GB, free: 15.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.3121, allocations: 1.554 MB / 0.5177 GB, free: 14.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3132, allocations: 0.565 MB / 0.5182 GB, free: 13.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.3146, allocations: 1.535 MB / 0.5197 GB, free: 13.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005603/0.3151, allocations: 375.9 kB / 0.5201 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008726/0.316, allocations: 0.7657 MB / 0.5208 GB, free: 12.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006167/0.3166, allocations: 488 kB / 0.5213 GB, free: 12.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-05/0.3167, allocations: 51.47 kB / 0.5213 GB, free: 12.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.3185, allocations: 1.105 MB / 0.5224 GB, free: 12.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3187, allocations: 169.7 kB / 0.5226 GB, free: 12.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.3189, allocations: 244.7 kB / 0.5228 GB, free: 12.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.3208, allocations: 1.446 MB / 0.5242 GB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3208, allocations: 4 kB / 0.5242 GB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3208, allocations: 0 / 0.5242 GB, free: 11.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.3208, allocations: 0 / 0.5242 GB, free: 11.57 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.001471/0.3223, allocations: 1.106 MB / 0.5253 GB, free: 10.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3223, allocations: 8.969 kB / 0.5253 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006625/0.323, allocations: 216.8 kB / 0.5255 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.3235, allocations: 433 kB / 0.5259 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.3235, allocations: 31.78 kB / 0.526 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/0.3236, allocations: 47.12 kB / 0.526 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.3243, allocations: 0.8067 MB / 0.5268 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3243, allocations: 0 / 0.5268 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.3243, allocations: 17.25 kB / 0.5268 GB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.3243, allocations: 11.81 kB / 0.5268 GB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.3247, allocations: 276.5 kB / 0.5271 GB, free: 9.684 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.001524/0.3262, allocations: 2.272 MB / 0.5293 GB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.3266, allocations: 204 kB / 0.5295 GB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.3267, allocations: 94.47 kB / 0.5296 GB, free: 7.785 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.3268, allocations: 42.92 kB / 0.5296 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3269, allocations: 44.55 kB / 0.5297 GB, free: 7.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.3269, allocations: 0 / 0.5297 GB, free: 7.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008884/0.3277, allocations: 477.6 kB / 0.5301 GB, free: 7.578 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.3278, allocations: 131.5 kB / 0.5303 GB, free: 7.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.3281, allocations: 436.1 kB / 0.5307 GB, free: 7.168 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.3281, allocations: 32.64 kB / 0.5307 GB, free: 7.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.3282, allocations: 339 kB / 0.531 GB, free: 6.852 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.3283, allocations: 123.8 kB / 0.5311 GB, free: 6.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3284, allocations: 107.4 kB / 0.5312 GB, free: 6.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.3285, allocations: 0.5298 MB / 0.5318 GB, free: 6.184 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.3286, allocations: 77.23 kB / 0.5318 GB, free: 6.168 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.3287, allocations: 333.5 kB / 0.5322 GB, free: 5.836 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.329, allocations: 320.9 kB / 0.5325 GB, free: 5.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.329, allocations: 0 / 0.5325 GB, free: 5.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004711/0.3295, allocations: 418.6 kB / 0.5329 GB, free: 5.434 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3295, allocations: 9.719 kB / 0.5329 GB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3295, allocations: 2.75 kB / 0.5329 GB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006883/0.3302, allocations: 197.5 kB / 0.5331 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.3304, allocations: 100.5 kB / 0.5332 GB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002696/0.3307, allocations: 0.8287 MB / 0.534 GB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.3309, allocations: 38.73 kB / 0.534 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/0.3309, allocations: 46.55 kB / 0.534 GB, free: 4.559 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.0001337/0.3311, allocations: 182.1 kB / 0.5342 GB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.3311, allocations: 63.03 kB / 0.5343 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009932/0.3321, allocations: 0.9714 MB / 0.5352 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3321, allocations: 2.656 kB / 0.5352 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3321, allocations: 2.781 kB / 0.5352 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3321, allocations: 1.828 kB / 0.5352 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007509/0.3329, allocations: 0.8411 MB / 0.5361 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3329, allocations: 4.188 kB / 0.5361 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.333, allocations: 51.75 kB / 0.5361 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.3341, allocations: 314.7 kB / 0.5364 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.3342, allocations: 15.83 kB / 0.5364 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002034/0.3344, allocations: 0.8462 MB / 0.5373 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3344, allocations: 0 / 0.5373 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.3347, allocations: 470 kB / 0.5377 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.3348, allocations: 44.34 kB / 0.5377 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.3348, allocations: 17.55 kB / 0.5378 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3349, allocations: 16.05 kB / 0.5378 GB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.335, allocations: 31.17 kB / 0.5378 GB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.335, allocations: 18.11 kB / 0.5378 GB, free: 2.199 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.3352, allocations: 310.7 kB / 0.5381 GB, free: 2.039 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3352, allocations: 0 / 0.5381 GB, free: 2.039 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007181/0.3359, allocations: 344.4 kB / 0.5384 GB, free: 1.949 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.0006222/0.3365, allocations: 419.3 kB / 0.5388 GB, free: 1.762 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004312/0.337, allocations: 248.3 kB / 0.5391 GB, free: 1.703 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.337, allocations: 0 / 0.5391 GB, free: 1.703 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3371, allocations: 118 kB / 0.5392 GB, free: 1.664 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008191/0.338, allocations: 323.5 kB / 0.5395 GB, free: 1.574 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3392, allocations: 0.8472 MB / 0.5403 GB, free: 1.023 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.787e-05/0.3393, allocations: 127.3 kB / 0.5405 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005883/0.3399, allocations: 487.3 kB / 0.5409 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.3401, allocations: 85.14 kB / 0.541 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/0.3401, allocations: 3.938 kB / 0.541 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of Templates: time 0.02199/0.362, allocations: 18.56 MB / 0.5591 GB, free: 1.09 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.7430605571717024]