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.001535/0.001535, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.001513/0.001513, allocations: 209.6 kB / 23.73 MB, free: 4.41 MB / 14.72 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2157/0.2157, allocations: 44.94 MB / 358.8 MB, free: 6.074 MB / 286.1 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.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_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.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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 63.89 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3097, allocations: 65.47 MB / 0.5575 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2072/0.5169, allocations: 161.7 MB / 0.7154 GB, free: 5.148 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006821/0.5238, allocations: 3.404 MB / 0.7187 GB, free: 1.734 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007313/0.5245, allocations: 19.81 kB / 0.7188 GB, free: 1.715 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.5258, allocations: 313.9 kB / 0.7191 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005496/0.5313, allocations: 1.759 MB / 0.7208 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.5334, allocations: 0.7162 MB / 0.7215 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002202/0.5356, allocations: 1.544 MB / 0.723 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007405/0.5363, allocations: 379.7 kB / 0.7233 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.5375, allocations: 0.6033 MB / 0.7239 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008232/0.5383, allocations: 450.1 kB / 0.7244 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.5385, allocations: 52 kB / 0.7244 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.5414, allocations: 1.193 MB / 0.7256 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.5417, allocations: 171.3 kB / 0.7257 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005378/0.5422, allocations: 294.8 kB / 0.726 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003416/0.5456, allocations: 1.663 MB / 0.7277 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5456, allocations: 0 / 0.7277 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5456, allocations: 3.938 kB / 0.7277 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.86e-05/0.5457, allocations: 0 / 0.7277 GB, free: 8.59 MB / 0.5606 GB 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.00252/0.5482, allocations: 1.037 MB / 0.7287 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5482, allocations: 8.031 kB / 0.7287 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.5493, allocations: 139.5 kB / 0.7288 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.5504, allocations: 433.5 kB / 0.7292 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.5505, allocations: 32.94 kB / 0.7293 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.711e-05/0.5506, allocations: 40 kB / 0.7293 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.552, allocations: 0.8918 MB / 0.7302 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.552, allocations: 3.938 kB / 0.7302 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/0.5521, allocations: 20 kB / 0.7302 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.5521, allocations: 12 kB / 0.7302 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.5532, allocations: 479.6 kB / 0.7307 GB, free: 5.344 MB / 0.5606 GB 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.003204/0.5564, allocations: 1.884 MB / 0.7325 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000799/0.5572, allocations: 319.5 kB / 0.7328 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.5575, allocations: 157.3 kB / 0.7329 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.5578, allocations: 52.23 kB / 0.733 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.5578, allocations: 38.84 kB / 0.733 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.5578, allocations: 4 kB / 0.733 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001799/0.5596, allocations: 0.6398 MB / 0.7337 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.5597, allocations: 132.5 kB / 0.7338 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/0.5602, allocations: 409.9 kB / 0.7342 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.5603, allocations: 37.7 kB / 0.7342 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.5605, allocations: 288.3 kB / 0.7345 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.5606, allocations: 123 kB / 0.7346 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.5608, allocations: 106.1 kB / 0.7347 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.561, allocations: 354.8 kB / 0.735 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.5614, allocations: 148.8 kB / 0.7352 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/0.5619, allocations: 360.7 kB / 0.7355 GB, free: 112 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2478/0.8097, allocations: 436 kB / 0.736 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.8097, allocations: 1.219 kB / 0.736 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001364/0.811, allocations: 0.5371 MB / 0.7365 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.8111, allocations: 10.75 kB / 0.7365 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.8111, allocations: 7.875 kB / 0.7365 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/0.8127, allocations: 240 kB / 0.7367 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/0.8132, allocations: 105 kB / 0.7368 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004294/0.8136, allocations: 0.5948 MB / 0.7374 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.8139, allocations: 36.53 kB / 0.7374 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.8141, allocations: 45.72 kB / 0.7375 GB, free: 178 MB / 0.5606 GB 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.0002672/0.8143, allocations: 193.4 kB / 0.7377 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.8144, allocations: 49.8 kB / 0.7377 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.8163, allocations: 1.085 MB / 0.7388 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.8163, allocations: 5.797 kB / 0.7388 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8163, allocations: 0 / 0.7388 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.8164, allocations: 2.062 kB / 0.7388 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.8175, allocations: 0.8659 MB / 0.7396 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.8175, allocations: 0 / 0.7396 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.8177, allocations: 52.5 kB / 0.7397 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003025/0.8208, allocations: 441.1 kB / 0.7401 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.8208, allocations: 10.94 kB / 0.7401 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000313/0.8211, allocations: 0.6085 MB / 0.7407 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8211, allocations: 0 / 0.7407 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006614/0.8218, allocations: 0.491 MB / 0.7412 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.8218, allocations: 51.25 kB / 0.7412 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.258e-05/0.8219, allocations: 13.91 kB / 0.7412 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.8222, allocations: 26.52 kB / 0.7413 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.8223, allocations: 33.23 kB / 0.7413 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.8223, allocations: 16.36 kB / 0.7413 GB, free: 176 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003002/0.8226, allocations: 328 kB / 0.7416 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8226, allocations: 0 / 0.7416 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008258/0.8234, allocations: 348.1 kB / 0.742 GB, free: 175.5 MB / 0.5606 GB 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.0007592/0.8242, allocations: 428 kB / 0.7424 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007168/0.8249, allocations: 358.8 kB / 0.7427 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8249, allocations: 0 / 0.7427 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.8252, allocations: 163.2 kB / 0.7429 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.8265, allocations: 289.2 kB / 0.7431 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.8276, allocations: 0.9047 MB / 0.744 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.8278, allocations: 269.6 kB / 0.7443 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007574/0.8286, allocations: 0.5348 MB / 0.7448 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.8288, allocations: 83.39 kB / 0.7449 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.8288, allocations: 0 / 0.7449 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.02143/0.8502, allocations: 17.58 MB / 0.7621 GB, free: 155.4 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.196492617949843]