Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.001624/0.001624, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002004/0.002004, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 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 1.472/1.472, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2256/0.2256, allocations: 46.94 MB / 361.4 MB, free: 4.406 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 83.86 kB / 0.4972 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3098, allocations: 66.03 MB / 0.5617 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.528/0.8378, allocations: 186.9 MB / 0.7442 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005175/0.843, allocations: 3.691 MB / 0.7478 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005815/0.8436, allocations: 24.72 kB / 0.7478 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008019/0.8444, allocations: 331.5 kB / 0.7481 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004709/0.8491, allocations: 1.759 MB / 0.7498 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.8507, allocations: 0.722 MB / 0.7505 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.8523, allocations: 1.555 MB / 0.7521 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.8527, allocations: 367.3 kB / 0.7524 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007662/0.8535, allocations: 0.6015 MB / 0.753 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005345/0.854, allocations: 486.7 kB / 0.7535 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/0.8541, allocations: 51.34 kB / 0.7535 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003378/0.8575, allocations: 2.414 MB / 0.7559 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.8576, allocations: 170.2 kB / 0.756 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003535/0.858, allocations: 349.6 kB / 0.7564 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.8603, allocations: 2.002 MB / 0.7583 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.8603, allocations: 0 / 0.7583 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.32e-07/0.8603, allocations: 0 / 0.7583 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.8603, allocations: 0.9062 kB / 0.7583 GB, free: 1.531 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.00171/0.862, allocations: 1.036 MB / 0.7593 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.862, allocations: 10.78 kB / 0.7593 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009093/0.8629, allocations: 139.2 kB / 0.7595 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/0.8636, allocations: 431.9 kB / 0.7599 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.8636, allocations: 31.69 kB / 0.7599 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.8637, allocations: 37.25 kB / 0.7599 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009039/0.8646, allocations: 0.5948 MB / 0.7605 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.8646, allocations: 3.094 kB / 0.7605 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/0.8647, allocations: 22.53 kB / 0.7606 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.8647, allocations: 10.19 kB / 0.7606 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000788/0.8655, allocations: 482.7 kB / 0.761 GB, free: 16.6 MB / 0.5762 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.002654/0.8681, allocations: 2.62 MB / 0.7636 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/0.8687, allocations: 330.8 kB / 0.7639 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.869, allocations: 157 kB / 0.764 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.8692, allocations: 50.77 kB / 0.7641 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.8692, allocations: 38.42 kB / 0.7641 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/0.8692, allocations: 1.844 kB / 0.7641 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001436/0.8706, allocations: 0.6537 MB / 0.7648 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.543e-05/0.8707, allocations: 132 kB / 0.7649 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.8712, allocations: 476 kB / 0.7654 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.8712, allocations: 36.33 kB / 0.7654 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.8714, allocations: 284.8 kB / 0.7657 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.8714, allocations: 122 kB / 0.7658 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.8716, allocations: 101.8 kB / 0.7659 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8717, allocations: 366.7 kB / 0.7662 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.872, allocations: 150.4 kB / 0.7664 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.8723, allocations: 278 kB / 0.7666 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005775/0.8729, allocations: 435.5 kB / 0.767 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8729, allocations: 3.531 kB / 0.767 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008366/0.8737, allocations: 0.5468 MB / 0.7676 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8737, allocations: 8.469 kB / 0.7676 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.8737, allocations: 1.812 kB / 0.7676 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.8751, allocations: 239.8 kB / 0.7678 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.8754, allocations: 111.1 kB / 0.7679 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004476/0.8759, allocations: 0.5929 MB / 0.7685 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.8762, allocations: 50.17 kB / 0.7686 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.455e-05/0.8763, allocations: 44.78 kB / 0.7686 GB, free: 12.93 MB / 0.5762 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.0002561/0.8765, allocations: 189.7 kB / 0.7688 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.8767, allocations: 55.17 kB / 0.7688 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.8783, allocations: 1.093 MB / 0.7699 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.8783, allocations: 3.594 kB / 0.7699 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8783, allocations: 0.75 kB / 0.7699 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8783, allocations: 0 / 0.7699 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.8795, allocations: 0.9905 MB / 0.7709 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.8795, allocations: 3.156 kB / 0.7709 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.8797, allocations: 54.23 kB / 0.7709 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003047/0.8828, allocations: 442.1 kB / 0.7713 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.8828, allocations: 9.531 kB / 0.7714 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005261/0.8833, allocations: 0.6048 MB / 0.7719 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.8833, allocations: 6.594 kB / 0.772 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008318/0.8842, allocations: 0.5059 MB / 0.7724 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.8843, allocations: 56.55 kB / 0.7725 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.215e-05/0.8844, allocations: 24.55 kB / 0.7725 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.8847, allocations: 20.72 kB / 0.7725 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.8848, allocations: 25.33 kB / 0.7726 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.8848, allocations: 18.64 kB / 0.7726 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004398/0.8852, allocations: 411.6 kB / 0.773 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.8852, allocations: 0 / 0.773 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009822/0.8862, allocations: 332.3 kB / 0.7733 GB, free: 11.34 MB / 0.5762 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.000852/0.8871, allocations: 439.9 kB / 0.7737 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007604/0.8878, allocations: 356.6 kB / 0.7741 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.8878, allocations: 7.703 kB / 0.7741 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.8881, allocations: 153 kB / 0.7742 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.8896, allocations: 367.5 kB / 0.7746 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.8909, allocations: 0.9034 MB / 0.7754 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.8914, allocations: 0.857 MB / 0.7763 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008851/0.8922, allocations: 0.5509 MB / 0.7768 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.8925, allocations: 86.16 kB / 0.7769 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/0.8925, allocations: 0 / 0.7769 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of Templates: time 0.02905/0.9215, allocations: 18.41 MB / 0.7949 GB, free: 4.617 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.2881039790809155]